aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--actionpack/lib/action_dispatch/testing/assertions/selector.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/testing/assertions/selector.rb b/actionpack/lib/action_dispatch/testing/assertions/selector.rb
index 235934f5f1..b6b47a6771 100644
--- a/actionpack/lib/action_dispatch/testing/assertions/selector.rb
+++ b/actionpack/lib/action_dispatch/testing/assertions/selector.rb
@@ -161,7 +161,7 @@ module ActionDispatch
selector = HTMLSelector.new(@selected, response_from_page, args)
matches = selector.select
- assert_size_match!(matches.size, selector.comparisons, selector.source, message)
+ assert_size_match!(matches.size, selector.comparisons, selector.source, selector.message)
# Set @selected to allow nested assert_select.
# Can be nested several levels deep.