@@ -95,6 +95,6 class IssueRelationTest < ActiveSupport::TestCase | |||
|
95 | 95 | assert IssueRelation.create!(:issue_from => Issue.find(1), :issue_to => Issue.find(2), :relation_type => IssueRelation::TYPE_BLOCKED) |
|
96 | 96 | r = IssueRelation.new(:issue_from => Issue.find(2), :issue_to => Issue.find(1), :relation_type => IssueRelation::TYPE_BLOCKED) |
|
97 | 97 | assert !r.save |
|
98 |
assert_not_nil r.errors |
|
|
98 | assert_not_nil r.errors[:base] | |
|
99 | 99 | end |
|
100 | 100 | end |
General Comments 0
You need to be logged in to leave comments.
Login now