aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorClaudio B <claudiob@users.noreply.github.com>2015-10-25 08:04:40 -0700
committerClaudio B <claudiob@users.noreply.github.com>2015-10-25 08:04:40 -0700
commit504e5e102b847019f08c4c2d1fa30444ed9a59a0 (patch)
treef33a6b1ee72d5d60a1f75cf2940ca0c61a337739 /actionpack/test
parent5746638e553b1d57ccd0c93b880d29595d1ce2e3 (diff)
parenta97dcde689f03e231ff4d64392fade20608af264 (diff)
downloadrails-504e5e102b847019f08c4c2d1fa30444ed9a59a0.tar.gz
rails-504e5e102b847019f08c4c2d1fa30444ed9a59a0.tar.bz2
rails-504e5e102b847019f08c4c2d1fa30444ed9a59a0.zip
Merge pull request #22060 from sebmck/tweak-wording
Tweaked wording used in some tests.
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/dispatch/show_exceptions_test.rb4
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