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 /actionpack/test/dispatch | |
parent | 6843cf6a94ae1efad0464381408a1c5f2f157376 (diff) | |
download | rails-a97dcde689f03e231ff4d64392fade20608af264.tar.gz rails-a97dcde689f03e231ff4d64392fade20608af264.tar.bz2 rails-a97dcde689f03e231ff4d64392fade20608af264.zip |
Tweaked wording used in some tests.
Diffstat (limited to 'actionpack/test/dispatch')
-rw-r--r-- | actionpack/test/dispatch/show_exceptions_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/dispatch/show_exceptions_test.rb b/actionpack/test/dispatch/show_exceptions_test.rb index cbb12a2209..15dd702161 100644 --- a/actionpack/test/dispatch/show_exceptions_test.rb +++ b/actionpack/test/dispatch/show_exceptions_test.rb @@ -93,13 +93,13 @@ class ShowExceptionsTest < ActionDispatch::IntegrationTest assert_kind_of AbstractController::ActionNotFound, env["action_dispatch.exception"] assert_equal "/404", env["PATH_INFO"] assert_equal "/not_found_original_exception", env["action_dispatch.original_path"] - [404, { "Content-Type" => "text/plain" }, ["YOU FAILED BRO"]] + [404, { "Content-Type" => "text/plain" }, ["YOU FAILED"]] end @app = ActionDispatch::ShowExceptions.new(Boomer.new, exceptions_app) get "/not_found_original_exception", headers: { 'action_dispatch.show_exceptions' => true } assert_response 404 - assert_equal "YOU FAILED BRO", body + assert_equal "YOU FAILED", body end test "returns an empty response if custom exceptions app returns X-Cascade pass" do |