mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Also, fix test where attributes were included when id was ""
```
1) Failure:
ActionController::Serialization::AdapterSelectorTest#test_render_using_adapter_override
[test/action_c$ntroller/adapter_selector_test.rb:53]:
--- expected
+++ actual
@@ -1 +1 @@
-"{\"data\":{\"id\":\"\",\"type\":\"profiles\",\"attributes\":{\"name\":\"Name 1\",\"description\":\"Description 1\"}}}"
+"{\"data\":null}"
```
|
||
|---|---|---|
| .. | ||
| adapter | ||
| test | ||
| adapter.rb | ||
| callbacks.rb | ||
| deprecate.rb | ||
| deserialization.rb | ||
| json_pointer.rb | ||
| logging.rb | ||
| lookup_chain.rb | ||
| model.rb | ||
| railtie.rb | ||
| register_jsonapi_renderer.rb | ||
| serializable_resource.rb | ||
| serialization_context.rb | ||
| test.rb | ||