@@ -413,7 +413,7 class IssueTest < ActiveSupport::TestCase | |||
|
413 | 413 | def test_should_not_be_able_to_assign_a_new_issue_to_a_locked_version |
|
414 | 414 | issue = Issue.new(:project_id => 1, :tracker_id => 1, :author_id => 1, :status_id => 1, :fixed_version_id => 2, :subject => 'New issue') |
|
415 | 415 | assert !issue.save |
|
416 |
assert_not_nil issue.errors |
|
|
416 | assert_not_nil issue.errors[:fixed_version_id] | |
|
417 | 417 | end |
|
418 | 418 | |
|
419 | 419 | def test_should_be_able_to_assign_a_new_issue_to_an_open_version |
General Comments 0
You need to be logged in to leave comments.
Login now