Fixed test failure with ruby1.8.7 and postgresql (#17976).

git-svn-id: http://svn.redmine.org/redmine/trunk@13420 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2014-09-30 20:41:15 +00:00
parent 105cc74b00
commit 86a33395db

View File

@ -125,7 +125,7 @@ class GroupTest < ActiveSupport::TestCase
end
def test_destroy_should_unassign_issues
group = Group.first
group = Group.find(10)
Issue.where(:id => 1).update_all(["assigned_to_id = ?", group.id])
assert group.destroy