Permalink
Browse files

Fix named scope tests for sqlite3 [#1667 state:resolved]

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  • Loading branch information...
1 parent abfa46e commit feb807dda1c2f13aadf01ea17bd9bfb3c6a401e0 @ffmike ffmike committed with wycats Dec 30, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/named_scope_test.rb
@@ -254,7 +254,7 @@ def test_rand_should_select_a_random_object_from_proxy
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

0 comments on commit feb807d

Please sign in to comment.