diff options
author | Mike Gunderloy <MikeG1@larkfarm.com> | 2008-12-29 19:14:30 -0600 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-12-30 03:10:11 +0000 |
commit | a29369ae4ac705fbbd4ac0c0325468e50e4eeca0 (patch) | |
tree | e029450da8af543fb28328d85b21cd3f8dcfa5ab /activerecord/test | |
parent | 220dff4c3b58b7becb587ee6f2434b2ca720f7c3 (diff) | |
download | rails-a29369ae4ac705fbbd4ac0c0325468e50e4eeca0.tar.gz rails-a29369ae4ac705fbbd4ac0c0325468e50e4eeca0.tar.bz2 rails-a29369ae4ac705fbbd4ac0c0325468e50e4eeca0.zip |
Fix named scope tests for sqlite3 [#1667 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/named_scope_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/named_scope_test.rb b/activerecord/test/cases/named_scope_test.rb index b152f95a15..bab842cf66 100644 --- a/activerecord/test/cases/named_scope_test.rb +++ b/activerecord/test/cases/named_scope_test.rb @@ -254,7 +254,7 @@ class NamedScopeTest < ActiveRecord::TestCase end def test_should_use_where_in_query_for_named_scope - assert_equal Developer.find_all_by_name('Jamis'), Developer.find_all_by_id(Developer.jamises) + assert_equal Developer.find_all_by_name('Jamis').to_set, Developer.find_all_by_id(Developer.jamises).to_set end def test_size_should_use_count_when_results_are_not_loaded |