diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2005-06-11 20:56:12 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2005-06-11 20:56:12 +0000 |
commit | 68b19ea7f3255fc54c4194c394d5ed8f997ba75f (patch) | |
tree | 6b818496bbb2d597c2c0ff07ff993c3666454acb /activerecord/test/deprecated_associations_test.rb | |
parent | cd033c63c230e0eddfb336937421264802503143 (diff) | |
download | rails-68b19ea7f3255fc54c4194c394d5ed8f997ba75f.tar.gz rails-68b19ea7f3255fc54c4194c394d5ed8f997ba75f.tar.bz2 rails-68b19ea7f3255fc54c4194c394d5ed8f997ba75f.zip |
Don't expect fixtures to be returned in the order they were inserted.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1402 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/deprecated_associations_test.rb')
-rwxr-xr-x | activerecord/test/deprecated_associations_test.rb | 2 |
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 |