Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Improve test name related to cache timestamp format [ci skip]

Conflicts:
	activerecord/test/cases/base_test.rb
  • Loading branch information...
commit 5353795c0d8d9b4c8d237548500d69d9f87c3c8d 1 parent a565f80
Carlos Antonio da Silva carlosantoniodasilva authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/test/cases/base_test.rb
2  activerecord/test/cases/base_test.rb
View
@@ -1444,7 +1444,7 @@ def test_cache_key_format_for_existing_record_with_updated_at
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
Please sign in to comment.
Something went wrong with that request. Please try again.