Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  • Loading branch information...
commit a29369ae4ac705fbbd4ac0c0325468e50e4eeca0 1 parent 220dff4
@ffmike ffmike authored lifo committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/test/cases/named_scope_test.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.