active_model_serializers/lib
Mauro George 5058694f4a Create assert_response_schema test helper
It is a common pattern to use JSON Schema to validate a API response[1], [2]
and [3].

This patch creates the `assert_response_schema` test helper that helps people do
this kind of validation easily on the controller tests.

[1]: https://robots.thoughtbot.com/validating-json-schemas-with-an-rspec-matcher
[2]: https://github.com/sharethrough/json-schema-rspec
[3]: https://github.com/rails-api/active_model_serializers/issues/1011#issuecomment-127608121
2016-01-15 00:45:56 -06:00
..
action_controller Add config.serializer_lookup_enabled that defaults true 2015-11-30 00:20:58 -06:00
active_model Create assert_response_schema test helper 2016-01-15 00:45:56 -06:00
active_model_serializers Create assert_response_schema test helper 2016-01-15 00:45:56 -06:00
generators/serializer fix description of USAGE 2015-12-01 08:54:27 +09:00
grape Grape formatter feature requested in #1258 2015-12-10 10:06:40 +00:00
active_model_serializers.rb Bring back assert_serializer for controller testing 2016-01-13 20:54:22 -06:00