diff options
author | Mike Gunderloy <MikeG1@larkfarm.com> | 2008-12-29 19:14:30 -0600 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-01-01 00:13:11 -0800 |
commit | feb807dda1c2f13aadf01ea17bd9bfb3c6a401e0 (patch) | |
tree | 786027301dcca59dc43c5d33fbefc5a1476518e8 /activerecord | |
parent | abfa46e3a6ba0e91f377a073d208f31f99a7a008 (diff) | |
download | rails-feb807dda1c2f13aadf01ea17bd9bfb3c6a401e0.tar.gz rails-feb807dda1c2f13aadf01ea17bd9bfb3c6a401e0.tar.bz2 rails-feb807dda1c2f13aadf01ea17bd9bfb3c6a401e0.zip |
Fix named scope tests for sqlite3 [#1667 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'activerecord')
-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 |