Skip to content

Commit 779a5ad

Browse files
committed
AO3-7397 Remove redundant test
1 parent 5b8ac7b commit 779a5ad

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

spec/controllers/skins_controller_spec.rb

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -133,18 +133,6 @@
133133
end
134134
end
135135

136-
describe "GET #preview" do
137-
context "with a public site skin" do
138-
let(:skin) { create(:skin, :public) }
139-
140-
it "redirects to the configured preview page" do
141-
get :preview, params: { id: skin.id }
142-
it_redirects_to_simple("#{ArchiveConfig.SKIN_PREVIEW_URL}?site_skin=#{skin.id}")
143-
expect(flash[:notice]).to include("You are previewing the skin #{skin.title}.")
144-
end
145-
end
146-
end
147-
148136
describe "PUT #update" do
149137
shared_examples "an action guests and random logged-in users can't access" do |attribute:, value:|
150138
context "when logged in as a user who is not the skin author" do

0 commit comments

Comments
 (0)