mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
Add callback matchers to README
This commit is contained in:
parent
9b252cca9b
commit
7f1306841e
1 changed files with 9 additions and 0 deletions
|
@ -72,6 +72,15 @@ complex, and error-prone.
|
|||
makes assertions on the `session` hash.
|
||||
* **[set_flash](lib/shoulda/matchers/action_controller/set_flash_matcher.rb)**
|
||||
makes assertions on the `flash` hash.
|
||||
* **[use_after_action](lib/shoulda/matchers/action_controller/use_after_action.rb)**
|
||||
tests that a `after_action` callback is defined in your controller. (Aliased
|
||||
as *use_after_filter*.)
|
||||
* **[use_around_action](lib/shoulda/matchers/action_controller/use_around_action.rb)**
|
||||
tests that a `around_action` callback is defined in your controller. (Aliased
|
||||
as *use_around_filter*.)
|
||||
* **[use_before_action](lib/shoulda/matchers/action_controller/use_before_action.rb)**
|
||||
tests that a `before_action` callback is defined in your controller. (Aliased
|
||||
as *use_before_filter*.)
|
||||
|
||||
### Independent Matchers
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue