aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/request_id_test.rb
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2011-12-21 21:21:39 +0530
committerArun Agrawal <arunagw@gmail.com>2011-12-21 21:22:39 +0530
commita3c1dc223bb9df3387e1171e17650cef85bf5bb9 (patch)
tree5450857873481e9ecee1a3af5efadde63f45fb6c /actionpack/test/dispatch/request_id_test.rb
parent618cb4429191290b957391c314a55b4d59f381f3 (diff)
downloadrails-a3c1dc223bb9df3387e1171e17650cef85bf5bb9.tar.gz
rails-a3c1dc223bb9df3387e1171e17650cef85bf5bb9.tar.bz2
rails-a3c1dc223bb9df3387e1171e17650cef85bf5bb9.zip
removed warning "warning: ambiguous first argument; put parentheses or even spaces"
Diffstat (limited to 'actionpack/test/dispatch/request_id_test.rb')
-rw-r--r--actionpack/test/dispatch/request_id_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/request_id_test.rb b/actionpack/test/dispatch/request_id_test.rb
index e2a38af233..4b98cd32f2 100644
--- a/actionpack/test/dispatch/request_id_test.rb
+++ b/actionpack/test/dispatch/request_id_test.rb
@@ -14,7 +14,7 @@ class RequestIdTest < ActiveSupport::TestCase
end
test "generating a request id when none is supplied" do
- assert_match /\w+-\w+-\w+-\w+-\w+/, stub_request.uuid
+ assert_match(/\w+-\w+-\w+-\w+-\w+/, stub_request.uuid)
end
private