remove deprication warning: ambiguous first argument; put parentheses or even spaces

This commit is contained in:
Vishnu Atrai
2011-07-26 23:39:17 +05:30
committed by Xavier Noria
parent 797d2254d7
commit 745d90bde3

View File

@@ -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