aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-12-11 21:52:21 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-12-11 21:56:15 -0200
commit5353795c0d8d9b4c8d237548500d69d9f87c3c8d (patch)
tree1bcb8da0868821243d92b740088ba858178a65cd
parenta565f80bcb0dd9687330d5644ce9baef58e9c835 (diff)
downloadrails-5353795c0d8d9b4c8d237548500d69d9f87c3c8d.tar.gz
rails-5353795c0d8d9b4c8d237548500d69d9f87c3c8d.tar.bz2
rails-5353795c0d8d9b4c8d237548500d69d9f87c3c8d.zip
Improve test name related to cache timestamp format [ci skip]
Conflicts: activerecord/test/cases/base_test.rb
-rw-r--r--activerecord/test/cases/base_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/base_test.rb b/activerecord/test/cases/base_test.rb
index c5c500279e..d326ed7863 100644
--- a/activerecord/test/cases/base_test.rb
+++ b/activerecord/test/cases/base_test.rb
@@ -1444,7 +1444,7 @@ class BasicsTest < ActiveRecord::TestCase
assert_equal "developers/#{dev.id}-#{dev.updated_at.utc.to_s(:nsec)}", dev.cache_key
end
- def test_cache_key_format_for_existing_record_with_updated_at_and_cache_timestamp_format_set
+ def test_cache_key_format_for_existing_record_with_updated_at_and_custom_cache_timestamp_format
dev = CachedDeveloper.first
assert_equal "cached_developers/#{dev.id}-#{dev.updated_at.utc.to_s(:number)}", dev.cache_key
end