Skip to content

Commit

Permalink
changed all.map to pluck
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepr-sourcebits committed Mar 19, 2012
1 parent 24d244c commit 70a19b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/cases/base_test.rb
Expand Up @@ -163,7 +163,7 @@ def test_limit_should_allow_sql_literal

def test_select_symbol
topic_ids = Topic.select(:id).map(&:id).sort
assert_equal Topic.all.map(&:id).sort, topic_ids
assert_equal Topic.pluck(:id).sort, topic_ids
end

def test_table_exists
Expand Down

0 comments on commit 70a19b7

Please sign in to comment.