aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2011-10-19 14:45:42 -0500
committerDavid Heinemeier Hansson <david@loudthinking.com>2011-10-19 14:45:42 -0500
commitada78066fdbccffb1da092a2470211fa252b3c99 (patch)
tree796c2dafdf9e1789f520faa96d4c0e36fc93510a /actionpack/test/dispatch
parent1b50207ed3a2f545763b8c0b3afcd35d9d36d4e0 (diff)
downloadrails-ada78066fdbccffb1da092a2470211fa252b3c99.tar.gz
rails-ada78066fdbccffb1da092a2470211fa252b3c99.tar.bz2
rails-ada78066fdbccffb1da092a2470211fa252b3c99.zip
Blah, SecureRandom#uuid is not supported in 1.8.7 -- cant wait for Rails 4.0 to drop compatibility with 1.8.x
Diffstat (limited to 'actionpack/test/dispatch')
-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 bdadbf6644..230ff54889 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+/, stub_request.uuid
end
private