summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/unit/issue_nested_set_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/issue_nested_set_test.rb b/test/unit/issue_nested_set_test.rb
index d3610b087..d7be36344 100644
--- a/test/unit/issue_nested_set_test.rb
+++ b/test/unit/issue_nested_set_test.rb
@@ -179,7 +179,7 @@ class IssueNestedSetTest < ActiveSupport::TestCase
child.reload
child.parent_issue_id = grandchild.id
assert !child.save
- assert_not_nil child.errors.on(:parent_issue_id)
+ assert_not_nil child.errors[:parent_issue_id]
end
def test_moving_an_issue_should_keep_valid_relations_only