##// END OF EJS Templates
Rails3: test: replace deprecated errors.on at test_creating_a_child_in_different_project_should_not_validate of unit/issue_nested_set_test.rb...
Toshi MARUYAMA -
r7474:afad5ed9f0df
parent child
Show More
@@ -53,7 +53,7 class IssueNestedSetTest < ActiveSupport::TestCase
53 53 issue = create_issue!
54 54 child = Issue.new(:project_id => 2, :tracker_id => 1, :author_id => 1, :subject => 'child', :parent_issue_id => issue.id)
55 55 assert !child.save
56 assert_not_nil child.errors.on(:parent_issue_id)
56 assert_not_nil child.errors[:parent_issue_id]
57 57 end
58 58
59 59 def test_move_a_root_to_child
General Comments 0
You need to be logged in to leave comments. Login now