Commit Graph

4 Commits

Author SHA1 Message Date
Prem Sichanugrist a6fa83e18c Fix whitespace 2011-09-12 17:25:05 +07:00
Oscar Del Ben 7e999d73a6 add order clause 2011-06-16 16:21:57 +02: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
Joe Ferris 56b0a0439e Move into the Matchers namespace 2010-12-15 17:34:19 -05:00