@@ -893,7 +893,9 class IssueTest < ActiveSupport::TestCase | |||
|
893 | 893 | end |
|
894 | 894 | |
|
895 | 895 | def test_should_not_be_able_to_assign_a_new_issue_to_a_locked_version |
|
896 |
issue = Issue.new(:project_id => 1, :tracker_id => 1, :author_id => 1, |
|
|
896 | issue = Issue.new(:project_id => 1, :tracker_id => 1, :author_id => 1, | |
|
897 | :status_id => 1, :fixed_version_id => 2, | |
|
898 | :subject => 'New issue') | |
|
897 | 899 | assert !issue.save |
|
898 | 900 | assert_not_nil issue.errors[:fixed_version_id] |
|
899 | 901 | end |
General Comments 0
You need to be logged in to leave comments.
Login now