mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Change assert to assert_equal
This commit is contained in:
parent
5706e7d7fe
commit
659e31b519
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user