summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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