1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00
thoughtbot--shoulda-matchers/spec/unit/shoulda/matchers/action_controller
Elliot Winkler c0f45ee0c7 Fix formatting issues with #permit failure messages
This commit simply fixes the failure messages for #permit so that
instead of looking like this:

    Expected POST #create to restrict parameters  for :personto :name, :age, :city, and :country, but ...

they look like this:

    Expected POST #create to restrict parameters on :person to :name, :age, :city, and :country, but ...

Also, flesh out more of the tests for the failure messages.
2015-09-29 18:30:21 -06: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 formatting issues with #permit failure messages 2015-09-29 18:30:21 -06: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