1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00
thoughtbot--shoulda-matchers/test/unit/friendship_test.rb
Ryan McGeary 68e42610be Fixed should_have_many regression [#60]
* Removed the check for the :source option on the assocation as it did not always yield the correct class name
 * Added tests to prevent the regression again
2008-08-31 12:14:16 -04:00

6 lines
155 B
Ruby

require File.dirname(__FILE__) + '/../test_helper'
class FriendshipTest < ActiveSupport::TestCase
should_belong_to :user
should_belong_to :friend
end