![]() 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. |
||
---|---|---|
.. | ||
acceptance | ||
support | ||
unit/shoulda/matchers | ||
warnings_spy | ||
acceptance_spec_helper.rb | ||
doublespeak_spec_helper.rb | ||
report_warnings.rb | ||
spec_helper.rb | ||
unit_spec_helper.rb | ||
warnings_spy.rb |