mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
Fix typo
This commit is contained in:
parent
952d8adcdc
commit
58a237ead1
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user