summaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-09-30 20:41:15 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-09-30 20:41:15 +0000
commit86a33395db66516d0ede3df01b69793383d8ca3e (patch)
tree043e4b188beb115a631f359e6edbc87dbdd298be /test/unit
parent105cc74b009e60ec87abbf02cba3cffb808fec71 (diff)
downloadredmine-86a33395db66516d0ede3df01b69793383d8ca3e.tar.gz
redmine-86a33395db66516d0ede3df01b69793383d8ca3e.zip
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
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/group_test.rb2
1 files changed, 1 insertions, 1 deletions
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