summaryrefslogtreecommitdiffstats
path: root/test/unit/query_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-03 21:35:00 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-03 21:35:00 +0000
commit86a52eaedf2bc7d5e597f0ce5d06187d7e487c78 (patch)
tree4965ca4973a80e0b8f03b4cc0e63360c697505a0 /test/unit/query_test.rb
parentce45b03732e78d45a7968811fb39b5365d0387f6 (diff)
downloadredmine-86a52eaedf2bc7d5e597f0ce5d06187d7e487c78.tar.gz
redmine-86a52eaedf2bc7d5e597f0ce5d06187d7e487c78.zip
Makes .find_ids return integers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8490 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/query_test.rb')
-rw-r--r--test/unit/query_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/query_test.rb b/test/unit/query_test.rb
index 6fc0bd2e8..78499bfd0 100644
--- a/test/unit/query_test.rb
+++ b/test/unit/query_test.rb
@@ -616,7 +616,7 @@ class QueryTest < ActiveSupport::TestCase
q = Query.new(:name => '_')
order = "issues.subject, issues.id"
issues = q.issues(:order => order)
- assert_equal issues.map(&:id).map(&:to_s), q.issue_ids(:order => order)
+ assert_equal issues.map(&:id), q.issue_ids(:order => order)
end
def test_label_for