mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
remove deprication warning: ambiguous first argument; put parentheses or even spaces
This commit is contained in:
committed by
Xavier Noria
parent
797d2254d7
commit
745d90bde3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user