mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Change assert to assert_equal
This commit is contained in:
@@ -46,8 +46,8 @@ module ActiveModel
|
||||
cache key: 'new-key'
|
||||
end
|
||||
|
||||
assert PostSerializer._cache_key == 'post'
|
||||
assert inherited_serializer._cache_key == 'new-key'
|
||||
assert_equal PostSerializer._cache_key, 'post'
|
||||
assert_equal inherited_serializer._cache_key, 'new-key'
|
||||
end
|
||||
|
||||
def test_cache_definition
|
||||
|
||||
Reference in New Issue
Block a user