diff options
author | Vishnu Atrai <me@vishnuatrai.com> | 2011-07-26 23:39:17 +0530 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-08-13 16:22:17 -0700 |
commit | 745d90bde30f34e476cee990bbd07feafb63eba7 (patch) | |
tree | 03d255cdb7c575ec9fae6a165e148204857c2b9d /activerecord | |
parent | 797d2254d7d1a541305526431e7362df5d5dd970 (diff) | |
download | rails-745d90bde30f34e476cee990bbd07feafb63eba7.tar.gz rails-745d90bde30f34e476cee990bbd07feafb63eba7.tar.bz2 rails-745d90bde30f34e476cee990bbd07feafb63eba7.zip |
remove deprication warning: ambiguous first argument; put parentheses or even spaces
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/base_test.rb | 2 |
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 |