active_model_serializers/test
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
..
action_controller Add support for JSON API deserialization (experimental). 2016-01-13 05:48:06 +01:00
active_model_serializers Replace load hook :active_model_serializers with :action_controller 2016-01-15 01:58:14 -06:00
adapter Preserve the serializer type when fragment caching 2016-02-09 22:35:32 -06:00
fixtures Remove outdated regression test 2016-01-13 21:47:08 -06:00
generators Only load generators when needed 2016-01-15 01:52:27 -06:00
include_tree Favor ActiveSupport::TestCase over Minitest::Test 2015-12-22 10:35:51 -06:00
serializers Add tests for conditional attributes/associations. 2016-01-13 06:20:05 +01:00
support Only call railtie when Rails is defined; assume controller loaded 2016-01-15 01:54:07 -06:00
active_record_test.rb Favor ActiveSupport::TestCase over Minitest::Test 2015-12-22 10:35:51 -06:00
adapter_test.rb Favor ActiveSupport::TestCase over Minitest::Test 2015-12-22 10:35:51 -06:00
array_serializer_test.rb Tidy up the tests 2016-01-07 11:21:19 -08:00
collection_serializer_test.rb Tidy up the tests 2016-01-07 11:21:19 -08:00
grape_test.rb Favor ActiveSupport::TestCase over Minitest::Test 2015-12-22 10:35:51 -06:00
lint_test.rb Favor ActiveSupport::TestCase over Minitest::Test 2015-12-22 10:35:51 -06:00
logger_test.rb Favor ActiveSupport::TestCase over Minitest::Test 2015-12-22 10:35:51 -06:00
poro_test.rb Favor ActiveSupport::TestCase over Minitest::Test 2015-12-22 10:35:51 -06:00
serializable_resource_test.rb Favor ActiveSupport::TestCase over Minitest::Test 2015-12-22 10:35:51 -06:00
test_helper.rb use action_controller configuration options in initializers 2016-01-15 01:58:14 -06:00