Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changed all.map to pluck

  • Loading branch information...
commit 70a19b7d42f62be6bdb3f1ec14586e42cd9e33a8 1 parent 24d244c
@sandeepr-sourcebits sandeepr-sourcebits authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/test/cases/base_test.rb
View
2  activerecord/test/cases/base_test.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.