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

Tweak README

[ci skip]
This commit is contained in:
Elliot Winkler 2015-09-30 13:25:10 -06:00
parent ca0dbd8c0f
commit ddd69a56bc

View file

@ -85,14 +85,14 @@ interested in the README for 2.8.0 instead.][2.8.0-README]**
* **[set_flash](lib/shoulda/matchers/action_controller/set_flash_matcher.rb)** * **[set_flash](lib/shoulda/matchers/action_controller/set_flash_matcher.rb)**
makes assertions on the `flash` hash. makes assertions on the `flash` hash.
* **[use_after_action](lib/shoulda/matchers/action_controller/callback_matcher.rb#L79)** * **[use_after_action](lib/shoulda/matchers/action_controller/callback_matcher.rb#L79)**
tests that a `after_action` callback is defined in your controller. (Aliased tests that an `after_action` callback is defined in your controller. *(Aliased
as *use_after_filter*.) as #use_after_filter.)*
* **[use_around_action](lib/shoulda/matchers/action_controller/callback_matcher.rb#L129)** * **[use_around_action](lib/shoulda/matchers/action_controller/callback_matcher.rb#L129)**
tests that a `around_action` callback is defined in your controller. (Aliased tests that an `around_action` callback is defined in your controller. *(Aliased
as *use_around_filter*.) as #use_around_filter.)*
* **[use_before_action](lib/shoulda/matchers/action_controller/callback_matcher.rb#L54)** * **[use_before_action](lib/shoulda/matchers/action_controller/callback_matcher.rb#L54)**
tests that a `before_action` callback is defined in your controller. (Aliased tests that a `before_action` callback is defined in your controller. *(Aliased
as *use_before_filter*.) as #use_before_filter.)*
### Independent matchers ### Independent matchers