mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16: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}"
```
|
||
|---|---|---|
| .. | ||
| json | ||
| json_api | ||
| adapter_selector_test.rb | ||
| explicit_serializer_test.rb | ||
| lookup_proc_test.rb | ||
| namespace_lookup_test.rb | ||
| serialization_scope_name_test.rb | ||
| serialization_test.rb | ||