mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Add NullAdapater
This commit is contained in:
@@ -15,7 +15,7 @@ module ActiveModel
|
||||
end
|
||||
end
|
||||
|
||||
def test_serializable_hash_is_abstract_method
|
||||
def test_to_json_is_abstract_method
|
||||
assert_raises(NotImplementedError) do
|
||||
@adapter.to_json(only: [:name])
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user