diff options
author | Sebastian McKenzie <sebmck@gmail.com> | 2015-10-25 08:57:50 +0000 |
---|---|---|
committer | Sebastian McKenzie <sebmck@gmail.com> | 2015-10-25 08:57:50 +0000 |
commit | a97dcde689f03e231ff4d64392fade20608af264 (patch) | |
tree | 9a3d3a7f41940c8b64f6b25c0681a1f81549343f /railties/test | |
parent | 6843cf6a94ae1efad0464381408a1c5f2f157376 (diff) | |
download | rails-a97dcde689f03e231ff4d64392fade20608af264.tar.gz rails-a97dcde689f03e231ff4d64392fade20608af264.tar.bz2 rails-a97dcde689f03e231ff4d64392fade20608af264.zip |
Tweaked wording used in some tests.
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/middleware/exceptions_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/test/application/middleware/exceptions_test.rb b/railties/test/application/middleware/exceptions_test.rb index 4906f9a1e8..7b4babb13b 100644 --- a/railties/test/application/middleware/exceptions_test.rb +++ b/railties/test/application/middleware/exceptions_test.rb @@ -48,7 +48,7 @@ module ApplicationTests test "uses custom exceptions app" do add_to_config <<-RUBY config.exceptions_app = lambda do |env| - [404, { "Content-Type" => "text/plain" }, ["YOU FAILED BRO"]] + [404, { "Content-Type" => "text/plain" }, ["YOU FAILED"]] end RUBY @@ -56,7 +56,7 @@ module ApplicationTests get "/foo" assert_equal 404, last_response.status - assert_equal "YOU FAILED BRO", last_response.body + assert_equal "YOU FAILED", last_response.body end test "url generation error when action_dispatch.show_exceptions is set raises an exception" do @@ -67,7 +67,7 @@ module ApplicationTests end end RUBY - + app.config.action_dispatch.show_exceptions = true get '/foo' |