code layout clean up of test_category_based_assignment at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7472 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e9e52887dd
commit
d9a22bb7c3
|
@ -282,7 +282,10 @@ class IssueTest < ActiveSupport::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_category_based_assignment
|
def test_category_based_assignment
|
||||||
issue = Issue.create(:project_id => 1, :tracker_id => 1, :author_id => 3, :status_id => 1, :priority => IssuePriority.all.first, :subject => 'Assignment test', :description => 'Assignment test', :category_id => 1)
|
issue = Issue.create(:project_id => 1, :tracker_id => 1, :author_id => 3,
|
||||||
|
:status_id => 1, :priority => IssuePriority.all.first,
|
||||||
|
:subject => 'Assignment test',
|
||||||
|
:description => 'Assignment test', :category_id => 1)
|
||||||
assert_equal IssueCategory.find(1).assigned_to, issue.assigned_to
|
assert_equal IssueCategory.find(1).assigned_to, issue.assigned_to
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue