diff options
author | Tarmo Tänav <tarmo@itech.ee> | 2008-08-22 09:53:59 +0300 |
---|---|---|
committer | Tarmo Tänav <tarmo@itech.ee> | 2008-08-22 10:39:45 +0300 |
commit | 52ac9d04442296abe7f05fc4701e1be7a0eed1f8 (patch) | |
tree | b9a71efbe29f1cc2a993b8bfe5bbbf8f73ddd117 /activerecord/test/cases/associations | |
parent | d3b894563a114912113b816f07ed16511363fb65 (diff) | |
download | rails-52ac9d04442296abe7f05fc4701e1be7a0eed1f8.tar.gz rails-52ac9d04442296abe7f05fc4701e1be7a0eed1f8.tar.bz2 rails-52ac9d04442296abe7f05fc4701e1be7a0eed1f8.zip |
Fixed ordering in test_find_in_association_with_custom_finder_sql_and_multiple_interpolations
Diffstat (limited to 'activerecord/test/cases/associations')
-rw-r--r-- | activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb b/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb index dfd82534ff..432d245b5b 100644 --- a/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb +++ b/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb @@ -452,7 +452,7 @@ class HasAndBelongsToManyAssociationsTest < ActiveRecord::TestCase def test_find_in_association_with_custom_finder_sql_and_multiple_interpolations # interpolate once: - assert_equal [developers(:david), developers(:poor_jamis), developers(:jamis)], projects(:active_record).developers_with_finder_sql, "first interpolation" + assert_equal [developers(:david), developers(:jamis), developers(:poor_jamis)], projects(:active_record).developers_with_finder_sql, "first interpolation" # interpolate again, for a different project id assert_equal [developers(:david)], projects(:action_controller).developers_with_finder_sql, "second interpolation" end |