Fixes bug in Test::Schema when using filter_parameters #2046
By default all Rails apps are created with an initializer called filter_parameter_logging.rb and its default contents are:
Rails.application.config.filter_parameters += [:password]
If this line is executed, as it is on this PR, the class of
Not properly "mocking" the Rails app properly caused the bug to be hidden in this and leonelgalan/rspec-active_model_serializers test suite.
This bug was first reported by me in another in #1947 (review), but at the time I couldn't produce failing tests.