Skip to content

Commit d219490

Browse files
eliatvdeyen
authored andcommitted
Remove previews for non-UI components that didn't add much value
The coverage shouldn't drop after this change. (cherry picked from commit d4c83e3)
1 parent f622a2c commit d219490

File tree

5 files changed

+0
-30
lines changed

5 files changed

+0
-30
lines changed

admin/spec/components/previews/solidus_admin/feedback/component_preview.rb

-10
This file was deleted.

admin/spec/components/previews/solidus_admin/feedback/component_preview/overview.html.erb

-3
This file was deleted.

admin/spec/components/solidus_admin/feedback/component_spec.rb

-9
This file was deleted.

admin/spec/components/solidus_admin/products/status/component_spec.rb

-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
require "spec_helper"
44

55
RSpec.describe SolidusAdmin::Products::Status::Component, type: :component do
6-
it "renders the overview preview" do
7-
render_preview(:overview)
8-
end
9-
106
describe "#status" do
117
it "returns :available when the product is available" do
128
product = Spree::Product.new(available_on: Time.current)

admin/spec/components/solidus_admin/sidebar/account_nav/component_spec.rb

-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
require "spec_helper"
44

55
RSpec.describe SolidusAdmin::Sidebar::AccountNav::Component, type: :component do
6-
it "renders the overview preview" do
7-
render_preview(:overview)
8-
end
9-
106
it "renders correctly" do
117
component = described_class.new(
128
user_label: "Alice",

0 commit comments

Comments
 (0)