active_model_serializers/test
Lee Richmond a77dfdaa85 Ensure valid jsonapi when blank relationship (#1930)
If you specify include_data false, and do not have any links for this
relationship, we would output something like:

`{ relationships: { comments: {} } }`

This is not valid jsonapi. We will now render

`{ relationships: { comments: { meta: {} } } }`

Instead.

Relevant jsonapi spec: http://jsonapi.org/format/#document-resource-object-relationships
2016-09-19 14:10:50 -04:00
..
action_controller Add tests for fields option demonstrating usage on both attributes and relationships (#1839) 2016-08-17 16:12:12 -05:00
active_model_serializers Support key transformation for Attributes adapter (#1889) 2016-08-25 15:21:27 -04:00
adapter Ensure valid jsonapi when blank relationship (#1930) 2016-09-19 14:10:50 -04:00
benchmark add bm_adapter (#1914) 2016-09-13 11:20:20 -04:00
fixtures remove dynamic class creation where not needed (#1850) 2016-07-18 14:11:09 -05:00
generators Ensure generator picks up ApplicationSerializer 2016-09-05 19:00:25 -04:00
serializers Refactor Association into Field like everything else (#1897) 2016-08-31 09:35:41 -04:00
support Correct typos 2016-08-16 18:18:58 -05:00
active_record_test.rb Favor ActiveSupport::TestCase over Minitest::Test 2015-12-22 10:35:51 -06:00
adapter_test.rb re: RuboCop - get rid of redundant curly braces around a hash parameter 2016-06-20 22:14:39 +01:00
array_serializer_test.rb Drop support for Rails 4.0 and Ruby 2.0.0 2016-04-04 11:41:35 -06:00
cache_test.rb Use ActiveSupport::Cache.expand_cache_key for cache key expansions (#1878) 2016-08-13 16:59:36 -05:00
collection_serializer_test.rb remove dynamic class creation where not needed (#1850) 2016-07-18 14:11:09 -05:00
grape_test.rb re: RuboCop - Use nested module/class definition instead of compact style. 2016-06-20 22:15:20 +01:00
lint_test.rb re: RuboCop: Bulk minor style corrections 2016-06-20 22:12:16 +01:00
logger_test.rb re: RuboCop - Use nested module/class definition instead of compact style. 2016-06-20 22:15:20 +01:00
poro_test.rb Favor ActiveSupport::TestCase over Minitest::Test 2015-12-22 10:35:51 -06:00
serializable_resource_test.rb re: RuboCop - get rid of redundant curly braces around a hash parameter 2016-06-20 22:14:39 +01:00
test_helper.rb Add helpful testing gems 2016-09-05 18:27:58 -04:00