aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/journey
diff options
context:
space:
mode:
authorPrem Sichanugrist <s@sikac.hu>2015-05-04 10:08:24 -0400
committerPrem Sichanugrist <s@sikac.hu>2015-05-04 10:15:50 -0400
commit7cb9e20c6c9666c7b4cbb1a56e007494599d98d7 (patch)
tree7ec93d056dad68cc4073a73a88d3ccdcfffa0d95 /actionpack/test/journey
parentbccbaefd7f4fbbbc1e0008cbd8bc4108da9e8fdc (diff)
downloadrails-7cb9e20c6c9666c7b4cbb1a56e007494599d98d7.tar.gz
rails-7cb9e20c6c9666c7b4cbb1a56e007494599d98d7.tar.bz2
rails-7cb9e20c6c9666c7b4cbb1a56e007494599d98d7.zip
Silence ambiguous first argument warning
This silences: actionpack/test/journey/route_test.rb:33: warning: ambiguous first argument; put parentheses or a space even after `/' operator
Diffstat (limited to 'actionpack/test/journey')
-rw-r--r--actionpack/test/journey/route_test.rb2
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