aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-07-26 11:14:23 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2011-07-26 11:14:23 -0700
commit0868461ee00b350e1a13e6406a69ce0bf03b97f8 (patch)
tree383ab22a800844dcf5817439e878715858392488 /activerecord
parent64807b964f6b4d58d550608b6de84ebd5ec846f3 (diff)
parent1e69f0b84a17fffdcb9aa2cba156117ae47fa92f (diff)
downloadrails-0868461ee00b350e1a13e6406a69ce0bf03b97f8.tar.gz
rails-0868461ee00b350e1a13e6406a69ce0bf03b97f8.tar.bz2
rails-0868461ee00b350e1a13e6406a69ce0bf03b97f8.zip
Merge pull request #2283 from castlerock/remove_warnings_ruby193
remove deprication warning: ambiguous first argument; put parentheses or
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/base_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/base_test.rb b/activerecord/test/cases/base_test.rb
index f2f5b73626..12101c1683 100644
--- a/activerecord/test/cases/base_test.rb
+++ b/activerecord/test/cases/base_test.rb
@@ -1867,6 +1867,6 @@ class BasicsTest < ActiveRecord::TestCase
def test_cache_key_format_for_existing_record_with_nil_updated_at
dev = Developer.first
dev.update_attribute(:updated_at, nil)
- assert_match /\/#{dev.id}$/, dev.cache_key
+ assert_match(/\/#{dev.id}$/, dev.cache_key)
end
end