44c0198830
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. |
||
---|---|---|
.. | ||
callback_matcher_spec.rb | ||
filter_param_matcher_spec.rb | ||
permit_matcher_spec.rb | ||
redirect_to_matcher_spec.rb | ||
render_template_matcher_spec.rb | ||
render_with_layout_matcher_spec.rb | ||
rescue_from_matcher_spec.rb | ||
respond_with_matcher_spec.rb | ||
route_matcher_spec.rb | ||
route_params_spec.rb | ||
set_flash_matcher_spec.rb | ||
set_session_matcher_spec.rb | ||
set_session_or_flash_matcher_spec.rb |