0
0
Fork 0

Change to always returns html document in error pages (#12214)

This commit is contained in:
Yamagishi Kazutoshi 2019-11-14 06:53:05 +09:00 committed by Eugen Rochko
parent 6c60ccee8a
commit afb398b583
2 changed files with 1 additions and 9 deletions

View file

@ -22,11 +22,6 @@ describe ApplicationController, type: :controller do
end
shared_examples 'respond_with_error' do |code|
it "returns http #{code} for any" do
subject
expect(response).to have_http_status(code)
end
it "returns http #{code} for http" do
subject
expect(response).to have_http_status(code)