Skip to content

Commit

Permalink
remove deprication warning: ambiguous first argument; put parentheses…
Browse files Browse the repository at this point in the history
… or even spaces
  • Loading branch information
Vishnu Atrai committed Jul 26, 2011
1 parent 64807b9 commit 1e69f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/cases/base_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1867,6 +1867,6 @@ def test_cache_key_format_for_existing_record_with_updated_at
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

0 comments on commit 1e69f0b

Please sign in to comment.