Permalink
Browse files

Merge pull request #2283 from castlerock/remove_warnings_ruby193

remove deprication warning: ambiguous first argument; put parentheses or
  • Loading branch information...
2 parents 64807b9 + 1e69f0b commit 0868461ee00b350e1a13e6406a69ce0bf03b97f8 @tenderlove tenderlove committed Jul 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/base_test.rb
@@ -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 0868461

Please sign in to comment.