From 86a33395db66516d0ede3df01b69793383d8ca3e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 30 Sep 2014 20:41:15 +0000 Subject: [PATCH] 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 --- test/unit/group_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/group_test.rb b/test/unit/group_test.rb index d3b5d20ec..fa5ded8f1 100644 --- a/test/unit/group_test.rb +++ b/test/unit/group_test.rb @@ -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 -- 2.39.5