Skip to content

Commit

Permalink
Fix named scope tests for sqlite3 [#1667 state:resolved]
Browse files Browse the repository at this point in the history
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  • Loading branch information
Mike Gunderloy authored and wycats committed Jan 1, 2009
1 parent abfa46e commit feb807d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/cases/named_scope_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit feb807d

Please sign in to comment.