This commit is contained in:
Benjamin Fleischer 2015-07-02 16:35:27 -05:00
parent 952d8adcdc
commit 58a237ead1

View File

@ -116,7 +116,7 @@ module ActiveModel
assert_equal({place: 'Nowhere'}, ActionController::Base.cache_store.fetch(@location.cache_key)) assert_equal({place: 'Nowhere'}, ActionController::Base.cache_store.fetch(@location.cache_key))
end end
def test_uses_file_digest_in_cahe_key def test_uses_file_digest_in_cache_key
blog = render_object_with_cache(@blog) blog = render_object_with_cache(@blog)
assert_equal(@blog_serializer.attributes, ActionController::Base.cache_store.fetch(@blog.cache_key_with_digest)) assert_equal(@blog_serializer.attributes, ActionController::Base.cache_store.fetch(@blog.cache_key_with_digest))
end end