aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/deprecated_associations_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/deprecated_associations_test.rb')
-rwxr-xr-xactiverecord/test/deprecated_associations_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/deprecated_associations_test.rb b/activerecord/test/deprecated_associations_test.rb
index b66cc51345..03587070b5 100755
--- a/activerecord/test/deprecated_associations_test.rb
+++ b/activerecord/test/deprecated_associations_test.rb
@@ -181,7 +181,7 @@ class DeprecatedAssociationsTest < Test::Unit::TestCase
active_record = Project.find(1)
assert active_record.has_developers?
assert_equal 2, active_record.developers_count
- assert_equal david.name, active_record.developers.first.name
+ assert active_record.developers.include?(david)
end
def test_has_and_belongs_to_many_removing