diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-09-30 20:41:15 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-09-30 20:41:15 +0000 |
commit | 86a33395db66516d0ede3df01b69793383d8ca3e (patch) | |
tree | 043e4b188beb115a631f359e6edbc87dbdd298be /test/unit/group_test.rb | |
parent | 105cc74b009e60ec87abbf02cba3cffb808fec71 (diff) | |
download | redmine-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/group_test.rb')
-rw-r--r-- | test/unit/group_test.rb | 2 |
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 |