thoughtbot--shoulda-matchers/spec
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
..
acceptance Add ignoring_interference_by_writer to all matchers 2016-01-05 00:58:16 -07:00
support CreateTable supports all PG-specific columns even under Rails 4.0 2016-01-10 00:10:25 -07:00
unit/shoulda/matchers Fix permit matcher for multiple instances of params 2016-11-21 09:54:27 -05:00
warnings_spy Be better about looking for warnings on Travis 2014-12-16 20:30:05 -07:00
acceptance_spec_helper.rb Extract a common spec helper 2015-10-07 23:32:51 -06:00
doublespeak_spec_helper.rb Extract a common spec helper 2015-10-07 23:32:51 -06:00
report_warnings.rb Remove all Ruby-emitted warnings 2014-07-18 18:00:08 -06:00
spec_helper.rb Always use doc formatter for RSpec by default 2016-01-07 11:50:04 -07:00
unit_spec_helper.rb Add ValidationMatcherScenario for use in tests 2016-01-05 00:58:16 -07:00
warnings_spy.rb Fail build if there are warnings 2015-02-09 10:48:49 -07:00