Commit Graph

8 Commits

Author SHA1 Message Date
Daniel Duvall 408174f2c5 Refactored error-generation spec to use inline fixture 2013-03-08 17:23:50 -05:00
Daniel Duvall 26e12e98ca Fixed typo in spec for error message generation 2013-03-08 17:14:08 -05:00
Daniel Duvall 3dd52fbd61 Refactored delegation of error message generation
Moved delegation to ActiveModel::Errors#generate_message to
default_error_message and implemented a spec for it.
2013-03-08 17:14:08 -05:00
Brian Shaver 4f8684c6db Rename failure_message and negative_failure_message
* fixes #108 : RSpec 2.10 compatibility
* remove unnecessary attr_readr
2013-03-08 14:49:12 -05:00
Prem Sichanugrist 814487a036 Add #description method to DelegateMatcher
Also, fixing code style for documentation, and update the method
referencing style to be #method_name instead of :method_name.

Fixes #226
2013-02-05 11:28:50 -05:00
Jason Draper and George Brocklehurst 7b15429ebe Add a StrongParametersMatcher 2013-01-25 11:07:48 +01:00
Gabe Berke-Williams af8f9a7bff Use current thoughtbot style in specs 2012-12-26 22:45:54 -05:00
Gabe Berke-Williams 5d835e828f Mimic lib/ structure in spec/ 2012-12-20 00:00:11 -05:00