We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b8ac7b commit 779a5adCopy full SHA for 779a5ad
1 file changed
spec/controllers/skins_controller_spec.rb
@@ -133,18 +133,6 @@
133
end
134
135
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
146
147
148
describe "PUT #update" do
149
shared_examples "an action guests and random logged-in users can't access" do |attribute:, value:|
150
context "when logged in as a user who is not the skin author" do
0 commit comments