about summary refs log tree commit diff
path: root/spec/controllers
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2019-11-14 06:53:05 +0900
committerEugen Rochko <eugen@zeonfederated.com>2019-11-13 22:53:05 +0100
commitafb398b583b23c139c5a069c1281550bb69760e0 (patch)
tree65a683e0f062af4af2faf374d479d29369916058 /spec/controllers
parent6c60ccee8af2c76d8ba8a725841e3543a0dee644 (diff)
Change to always returns html document in error pages (#12214)
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/application_controller_spec.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/controllers/application_controller_spec.rb b/spec/controllers/application_controller_spec.rb
index da4a794cd..63ae27a92 100644
--- a/spec/controllers/application_controller_spec.rb
+++ b/spec/controllers/application_controller_spec.rb
@@ -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)