active_model_serializers/test/support
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
..
custom_schemas/active_model_serializers/test/schema_test/my Create assert_response_schema test helper 2016-01-15 00:45:56 -06:00
schemas Create assert_response_schema test helper 2016-01-15 00:45:56 -06:00
rails5_shims.rb Test keyword args in requests for Rails 5; fallback for earlier versions 2015-11-25 21:56:02 -06:00
rails_app.rb Move caching initialization to Railtie 2015-11-25 21:56:01 -06:00
serialization_testing.rb Merge pull request #1371 from bf4/documentation_updates 2015-12-20 22:30:44 -06:00
simplecov.rb Add test coverage; account for no artifacts on CI 2015-09-06 09:19:07 -05:00
stream_capture.rb Make better use of Minitest's lifecycle 2015-09-06 07:34:42 -05:00
test_case.rb Test keyword args in requests for Rails 5; fallback for earlier versions 2015-11-25 21:56:02 -06:00