aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/assertions/response_assertions_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/assertions/response_assertions_test.rb b/actionpack/test/assertions/response_assertions_test.rb
index 6c7036aa1a..00fb1c0f12 100644
--- a/actionpack/test/assertions/response_assertions_test.rb
+++ b/actionpack/test/assertions/response_assertions_test.rb
@@ -70,8 +70,8 @@ module ActionDispatch
assert_response :success
end
- expected = "Expected response to be a <success>, but was a redirect to <http://test.host/posts/redirect/1>."
- assert_match expected, error.message
+ expected = "Expected response to be a <success>, but was a redirect to <http://test.host/posts/redirect/1>"
+ assert_equal expected, error.message
end
end
end