Commit e1ca5266 authored by tmaruyama's avatar tmaruyama

Rails3: test: replace deprecated errors.on at...

Rails3: test: replace deprecated errors.on at test_validates_circular_dependency_on_reverse_relations of unit/issue_relation_test.rb

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent a1884ec0
......@@ -95,6 +95,6 @@ class IssueRelationTest < ActiveSupport::TestCase
assert IssueRelation.create!(:issue_from => Issue.find(1), :issue_to => Issue.find(2), :relation_type => IssueRelation::TYPE_BLOCKED)
r = => Issue.find(2), :issue_to => Issue.find(1), :relation_type => IssueRelation::TYPE_BLOCKED)
assert !
assert_not_nil r.errors.on(:base)
assert_not_nil r.errors[:base]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment