Removed deferred test, circular relations are unit tested.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11475 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
5b4a9ac3b3
commit
870d9bad86
|
@ -109,8 +109,6 @@ class IssueRelationsControllerTest < ActionController::TestCase
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
should "prevent relation creation when there's a circular dependency"
|
|
||||||
|
|
||||||
def test_create_xhr_with_failure
|
def test_create_xhr_with_failure
|
||||||
assert_no_difference 'IssueRelation.count' do
|
assert_no_difference 'IssueRelation.count' do
|
||||||
xhr :post, :create, :issue_id => 3, :relation => {:issue_to_id => '999', :relation_type => 'relates', :delay => ''}
|
xhr :post, :create, :issue_id => 3, :relation => {:issue_to_id => '999', :relation_type => 'relates', :delay => ''}
|
||||||
|
|
Loading…
Reference in New Issue