Commit 1fa1612e authored by tmaruyama's avatar tmaruyama
Browse files

code layout clean up...

code layout clean up test_should_not_be_able_to_assign_a_new_issue_to_a_locked_version of unit issue test

git-svn-id: https://svn.redmine.org/redmine/trunk@10655 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent dea5123a
......@@ -893,7 +893,9 @@ class IssueTest < ActiveSupport::TestCase
end
def test_should_not_be_able_to_assign_a_new_issue_to_a_locked_version
issue = Issue.new(:project_id => 1, :tracker_id => 1, :author_id => 1, :status_id => 1, :fixed_version_id => 2, :subject => 'New issue')
issue = Issue.new(:project_id => 1, :tracker_id => 1, :author_id => 1,
:status_id => 1, :fixed_version_id => 2,
:subject => 'New issue')
assert !issue.save
assert_not_nil issue.errors[:fixed_version_id]
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment