c863f7e6f0
https://github.com/thoughtbot/shoulda-matchers/issues/66 has_many and has_one tests failed with the reverse association has a nonstandard name, (eg "belongs_to :author, :class_name => :User) corrected by having have_one and have_many association tests check for an :inverse_of on their association, and use the inverse relationship's foreign key info if it can be found |
||
---|---|---|
.. | ||
shoulda | ||
shoulda-matchers.rb |