Commit 40f7422a authored by jplang's avatar jplang
Browse files

Fixes a NoMethodError in tests with ruby 1.8.6.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 303a659a
......@@ -562,7 +562,7 @@ class IssueTest < ActiveSupport::TestCase
assert_equal 2, assignable_user_ids.length
assignable_user_ids.each do |user_id|
assert_equal 1, assignable_user_ids.count(user_id), "User #{user_id} appears more or less than once"
assert_equal 1, {|i| i == user_id}.length, "User #{user_id} appears more or less than once"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment