Stafford Brunk
|
4e199e085e
|
Add bcc and cc functionality to the HaveSentEmailMatcher
|
2011-05-27 09:49:25 -04:00 |
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 |
Joel Moss
|
6b4035c117
|
Prefer #foreign_key to #primary_key_name when possible for AssociationMatcher#foreign_key
Fixes deprecation warning added in Rails 3.1:
https://github.com/rails/rails/blob/v3.1.0.beta1/activerecord/lib/active_record/reflection.rb#L201-208
Closes: https://github.com/thoughtbot/shoulda-matchers/pull/9
|
2011-05-20 10:22:08 -04:00 |
Markus Schwed
|
1fa2f21365
|
Load ActiveModel matchers for ActiveRecord and ActiveModel (for using for another ORM/classes)
|
2011-05-09 18:17:35 +02:00 |
Markus Schwed
|
16466ca2a9
|
Fixed small bug in test_unit (thx jasonm)
|
2011-05-06 09:57:36 -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 |
Joe Ferris
|
dc769d3524
|
Bumped to beta2 to release bugfixes
|
2011-03-17 13:22:27 -04:00 |
knapo
|
7f72f4a478
|
Change the way of translating default_error_message by using :default I18n.translation options instead of throwing I18n::MissingTranslationData
|
2011-03-17 14:02:39 +01: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
|
3c0aea25fa
|
readonly_attributes are now a Set instead of Array
|
2011-02-23 11:13:59 -05:00 |
Timothy Yen
|
404d1f4ee8
|
Added shoulda/matchers/assertion_error that assigns based on the current Ruby version.
|
2011-02-17 13:37:30 -05:00 |
Timothy Yen
|
76a8aa726e
|
Fix assign_to_matcher for ruby 1.9.2: check for instance variables using symbols instead of strings
|
2011-02-17 13:34:56 -05:00 |
Joe Ferris
|
e817958427
|
Freeze version; dup version so Rubygems can call strip! on it
|
2011-02-17 13:31:41 -05:00 |
Ryan McGeary
|
9c9580c55b
|
Moved dependencies from the Gemfile to the gemspec
* The Gemfile now contains just the source and a single `gemspec` declaration
* See http://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/
* Also had to break out the modules under integrations/rspec into their nested equivalents (load order?)
|
2011-01-31 16:45:13 -05:00 |
Tristan Dunn
|
3daca5b601
|
Support validates_presence_of with a class using ActiveModel::Validations.
|
2011-01-24 11:19:34 -05:00 |
Joe Ferris
|
a2f7eefc66
|
Version 1.0.0.beta1
|
2011-01-19 11:18:56 -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 |