aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
diff options
context:
space:
mode:
authorTimm <kaspth@gmail.com>2013-07-30 15:20:46 +0200
committerTimm <kaspth@gmail.com>2014-06-16 21:03:58 +0200
commit3c6ce7403423fc7362ba11c921ab2b5d136aff68 (patch)
treeb3e32077866592570c812dc778276c90907b2029 /actionpack/lib/action_dispatch
parent22aa73b3ee1491b5a1b4271b4f85b53c40f11ff3 (diff)
downloadrails-3c6ce7403423fc7362ba11c921ab2b5d136aff68.tar.gz
rails-3c6ce7403423fc7362ba11c921ab2b5d136aff68.tar.bz2
rails-3c6ce7403423fc7362ba11c921ab2b5d136aff68.zip
Fixed: inadvertently called message method in MiniTest instead of selector.message.
Diffstat (limited to 'actionpack/lib/action_dispatch')
-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.