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

13 commits

Author SHA1 Message Date
Jason Morrison
224f2e5a70 Merge pull request #7 from chendry/master
Fix for AssignToMatcher failure message when object is of the wrong kind.
2011-05-20 07:34:17 -07:00
Markus Schwed
2a54fdb28d Seperate ActiveRecord and ActiveModel related matchers 2011-05-06 15:56:36 +02:00
Chad Hendry
de11b4b59b Fix for AssignToMatcher failure message
AssignToMatcher did not include the assigned object in the failure
message when the assigned object is of the wrong kind.
2011-03-30 17:30:23 -05:00
Ryan McGeary
70b706e85a Updated docs for the validate_format_of matcher
* Reflects correct default error message (:invalid)
* Also added extra tests for invalid formats
2011-02-26 09:11:47 -05:00
Justin Case
5de1e7788b The format validator uses :invalid key by default, not :blank.
https://github.com/thoughtbot/shoulda/issues/#issue/119 by adrpac
2011-02-26 09:32:43 +01:00
John Mileham
15bc25ea24 Tests to verify failure behavior when an attribute is not included in the readonly set. 2011-02-23 13:19:02 -05:00
Tristan Dunn
3daca5b601 Support validates_presence_of with a class using ActiveModel::Validations. 2011-01-24 11:19:34 -05:00
Tristan Dunn
b8343ef963 Remove "should" from example descriptions in a couple of files. 2010-12-17 12:14:02 -05:00
Tristan Dunn
29ebbecf9a Fix and improve a couple matcher descriptions. 2010-12-17 11:50:49 -05:00
Joe Ferris
56b0a0439e Move into the Matchers namespace 2010-12-15 17:34:19 -05:00
Joe Ferris
2037e969dc Removed the Matchers namespace 2010-12-14 18:51:39 -05:00
Joe Ferris
4ee78bfe99 Fixes for Rails 3.0.3 and RSpec 2.3 2010-12-14 18:35:12 -05:00
Joe Ferris
6aca71765a Extracted the context framework, switched to rspec 2010-12-14 17:02:03 -05:00