mirror of
https://github.com/redmine/redmine.git
synced 2024-08-06 21:06:41 +02:00
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:
parent
105cc74b00
commit
86a33395db
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user