active_model_serializers/test/adapter
Brian McManus d67f7da114 Preserve the serializer type when fragment caching
We were not previously cloning the type setting into the dynamically
generated cached/non-cached serializers for a given fragment-cached
serializer. This led to the type generated for JsonApi having the wrong
value when fragment caching is enabled by adding either :except or :only
options to cache.

This pulls the type setting from the fragment-cached serializer forward
onto the dynamic caching classes so it is preserved in the output.
2016-02-09 22:35:32 -06:00
..
json Favor ActiveSupport::TestCase over Minitest::Test 2015-12-22 10:35:51 -06:00
json_api Add support for dynamic string-links in JsonApi adapter. 2016-01-15 14:36:42 +01:00
fragment_cache_test.rb Preserve the serializer type when fragment caching 2016-02-09 22:35:32 -06:00
json_test.rb Favor ActiveSupport::TestCase over Minitest::Test 2015-12-22 10:35:51 -06:00
null_test.rb Favor ActiveSupport::TestCase over Minitest::Test 2015-12-22 10:35:51 -06:00