mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
c0f45ee0c7
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. |
||
---|---|---|
.. | ||
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 |