Skip to content

Commit

Permalink
Merge pull request #6074 from solidusio/backport/v4.2/pr-5592
Browse files Browse the repository at this point in the history
[v4.2] [admin] Remove previews for non-UI components that didn't add much value
  • Loading branch information
tvdeyen authored Jan 15, 2025
2 parents f622a2c + d219490 commit 8f41473
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 30 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
require "spec_helper"

RSpec.describe SolidusAdmin::Products::Status::Component, type: :component do
it "renders the overview preview" do
render_preview(:overview)
end

describe "#status" do
it "returns :available when the product is available" do
product = Spree::Product.new(available_on: Time.current)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
require "spec_helper"

RSpec.describe SolidusAdmin::Sidebar::AccountNav::Component, type: :component do
it "renders the overview preview" do
render_preview(:overview)
end

it "renders correctly" do
component = described_class.new(
user_label: "Alice",
Expand Down

0 comments on commit 8f41473

Please sign in to comment.