@@ -179,7 +179,7 class IssueNestedSetTest < ActiveSupport::TestCase | |||
|
179 | 179 | child.reload |
|
180 | 180 | child.parent_issue_id = grandchild.id |
|
181 | 181 | assert !child.save |
|
182 |
assert_not_nil child.errors |
|
|
182 | assert_not_nil child.errors[:parent_issue_id] | |
|
183 | 183 | end |
|
184 | 184 | |
|
185 | 185 | def test_moving_an_issue_should_keep_valid_relations_only |
General Comments 0
You need to be logged in to leave comments.
Login now