##// END OF EJS Templates
code layout clean up of test_create_with_group_assignment at test/unit/issue_test.rb...
Toshi MARUYAMA -
r7357:3a7c4a0417ec
parent child
Show More
@@ -74,7 +74,9 class IssueTest < ActiveSupport::TestCase
74 74
75 75 def test_create_with_group_assignment
76 76 with_settings :issue_group_assignment => '1' do
77 assert Issue.new(:project_id => 2, :tracker_id => 1, :author_id => 1, :subject => 'Group assignment', :assigned_to_id => 11).save
77 assert Issue.new(:project_id => 2, :tracker_id => 1, :author_id => 1,
78 :subject => 'Group assignment',
79 :assigned_to_id => 11).save
78 80 issue = Issue.first(:order => 'id DESC')
79 81 assert_kind_of Group, issue.assigned_to
80 82 assert_equal Group.find(11), issue.assigned_to
General Comments 0
You need to be logged in to leave comments. Login now