thoughtbot--shoulda-matchers/spec/support
Elliot Winkler e11891e818 Rewrite the tests for #permit
* Use `permit` directly instead of manually building the matcher
* Some tests were being tested by calling #matches? directly when they
  shouldn't have been, and some tests were duplicated
* Rename helper methods that define controllers to express intent better
* Don't make a global class (SimulatedError), keep the class local to
  the example group
* Use lambdas for that use `raise_error`
2015-02-28 23:41:01 -07:00
..
acceptance Add support for Postgres 2015-02-12 16:01:00 -07:00
tests CommandRunner: if command fails, format it better 2015-02-12 17:35:37 -07:00
unit Rewrite the tests for #permit 2015-02-28 23:41:01 -07:00