diff options
author | Vishnu Atrai <me@vishnuatrai.com> | 2011-07-26 23:39:17 +0530 |
---|---|---|
committer | Vishnu Atrai <me@vishnuatrai.com> | 2011-07-26 23:39:17 +0530 |
commit | 1e69f0b84a17fffdcb9aa2cba156117ae47fa92f (patch) | |
tree | 383ab22a800844dcf5817439e878715858392488 /activerecord/test | |
parent | 64807b964f6b4d58d550608b6de84ebd5ec846f3 (diff) | |
download | rails-1e69f0b84a17fffdcb9aa2cba156117ae47fa92f.tar.gz rails-1e69f0b84a17fffdcb9aa2cba156117ae47fa92f.tar.bz2 rails-1e69f0b84a17fffdcb9aa2cba156117ae47fa92f.zip |
remove deprication warning: ambiguous first argument; put parentheses or even spaces
Diffstat (limited to 'activerecord/test')
-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 |