Change assert to assert_equal

This commit is contained in:
Benjamin Fleischer 2015-10-07 05:59:43 -05:00
parent 5706e7d7fe
commit 659e31b519

View File

@ -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