diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-10-13 11:20:55 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-10-13 11:20:55 +0000 |
commit | 9581afe06052bbe73fef88804b11a4ef332aab96 (patch) | |
tree | 8aa0fef6b8dd723e395cad06c8b3c3357035e1e9 /test/unit | |
parent | 6ebfe54e6ee9a39742f6622986d5e74528a1720a (diff) | |
download | redmine-9581afe06052bbe73fef88804b11a4ef332aab96.tar.gz redmine-9581afe06052bbe73fef88804b11a4ef332aab96.zip |
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: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10655 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/issue_test.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index ddf800814..39a09396f 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -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 |