diff options
author | Matthew Draper <matthew@trebex.net> | 2015-05-04 23:47:37 +0930 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2015-05-04 23:47:37 +0930 |
commit | cec46fbec48367287920df53446f59f159c9fed5 (patch) | |
tree | 342ec0b42b443b6a6681c1d9698cfd0a67401b5f /actionpack/test | |
parent | 984a4db3c35af4cd0e2191775b00f850f95ae66c (diff) | |
parent | 7cb9e20c6c9666c7b4cbb1a56e007494599d98d7 (diff) | |
download | rails-cec46fbec48367287920df53446f59f159c9fed5.tar.gz rails-cec46fbec48367287920df53446f59f159c9fed5.tar.bz2 rails-cec46fbec48367287920df53446f59f159c9fed5.zip |
Merge pull request #20010 from sikachu/silence-ambiguous-first-argument
Silence ambiguous first argument warning
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/journey/route_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/journey/route_test.rb b/actionpack/test/journey/route_test.rb index 9616f036b3..0980df06e8 100644 --- a/actionpack/test/journey/route_test.rb +++ b/actionpack/test/journey/route_test.rb @@ -30,7 +30,7 @@ module ActionDispatch path = Path::Pattern.new strexp defaults = { name: 'tender' } route = Route.new('name', nil, path, nil, defaults) - assert_equal /love/, route.requirements[:name] + assert_equal(/love/, route.requirements[:name]) end def test_ip_address |