thoughtbot--shoulda-matchers/spec/unit/shoulda/matchers/action_controller
Ari Pollak 44c0198830 Fix permit matcher for multiple instances of params
When the permit matcher is used without `#on`, the controller does
not use `params#require`, and the params object is duplicated, the
matcher did not recognize the `#permit` call inside the controller.
This happened because the matcher overwrote double registries with the
same parameter hash whenever ActionController::Parameters was
instantiated.
This is related to #899.
2016-11-21 09:54:27 -05:00
..
callback_matcher_spec.rb Fix test suite to properly tag example groups 2014-12-25 00:44:53 -05:00
filter_param_matcher_spec.rb Fix test suite to properly tag example groups 2014-12-25 00:44:53 -05:00
permit_matcher_spec.rb Fix permit matcher for multiple instances of params 2016-11-21 09:54:27 -05:00
redirect_to_matcher_spec.rb Fix AC matcher tests for Rails 4.2 2014-12-25 00:45:04 -05:00
render_template_matcher_spec.rb Ensure that we are req'd after rspec in tests 2014-12-25 00:44:54 -05:00
render_with_layout_matcher_spec.rb Remove Rails 3.x, Ruby 1.9.2, Ruby 1.9.3 2015-02-09 10:52:22 -07:00
rescue_from_matcher_spec.rb Fix test suite to properly tag example groups 2014-12-25 00:44:53 -05:00
respond_with_matcher_spec.rb Fix test suite to properly tag example groups 2014-12-25 00:44:53 -05:00
route_matcher_spec.rb Rewrite tests for ActionController::RouteMatcher 2015-09-25 17:45:33 -06:00
route_params_spec.rb Fix test suite to properly tag example groups 2014-12-25 00:44:53 -05:00
set_flash_matcher_spec.rb set_flash.now works only if called before any other qualifier 2015-09-23 15:09:01 -06:00
set_session_matcher_spec.rb Consolidate set_session and set_flash APIs 2015-02-09 10:52:51 -07:00
set_session_or_flash_matcher_spec.rb Add SetSessionOrFlashMatcher 2015-02-09 10:52:51 -07:00