correct plugin specs

This commit is contained in:
Sam
2018-01-12 14:42:05 +11:00
parent 49ed382c2a
commit 7e3543d96f
3 changed files with 17 additions and 16 deletions

View File

@ -28,8 +28,8 @@ describe "Discobot Certificate" do
}
params.each do |key, _|
expect { get '/discobot/certificate.svg', params: params.except(key) }
.to raise_error(Discourse::InvalidParameters)
get '/discobot/certificate.svg', params: params.except(key)
expect(response.status).to eq(400)
end
end
end