@@ -883,7 +883,9 class IssueTest < ActiveSupport::TestCase | |||
|
883 | 883 | end |
|
884 | 884 | |
|
885 | 885 | def test_should_not_be_able_to_assign_a_new_issue_to_a_closed_version |
|
886 |
issue = Issue.new(:project_id => 1, :tracker_id => 1, :author_id => 1, |
|
|
886 | issue = Issue.new(:project_id => 1, :tracker_id => 1, :author_id => 1, | |
|
887 | :status_id => 1, :fixed_version_id => 1, | |
|
888 | :subject => 'New issue') | |
|
887 | 889 | assert !issue.save |
|
888 | 890 | assert_not_nil issue.errors[:fixed_version_id] |
|
889 | 891 | end |
General Comments 0
You need to be logged in to leave comments.
Login now