1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00

#permit was missing from the README

This commit is contained in:
Elliot Winkler 2015-02-28 19:32:09 -07:00
parent 2b0e1fb0e0
commit 8d8f7a0e8d

View file

@ -56,6 +56,8 @@ complex, and error-prone.
* **[filter_param](lib/shoulda/matchers/action_controller/filter_param_matcher.rb)** * **[filter_param](lib/shoulda/matchers/action_controller/filter_param_matcher.rb)**
tests parameter filtering configuration. tests parameter filtering configuration.
* **[permit](lib/shoulda/matchers/action_controller/permit_matcher.rb)** tests
that an action places a restriction on the `params` hash.
* **[redirect_to](lib/shoulda/matchers/action_controller/redirect_to_matcher.rb)** * **[redirect_to](lib/shoulda/matchers/action_controller/redirect_to_matcher.rb)**
tests that an action redirects to a certain location. tests that an action redirects to a certain location.
* **[render_template](lib/shoulda/matchers/action_controller/render_template_matcher.rb)** * **[render_template](lib/shoulda/matchers/action_controller/render_template_matcher.rb)**