@@ -109,8 +109,6 class IssueRelationsControllerTest < ActionController::TestCase | |||||
109 | end |
|
109 | end | |
110 | end |
|
110 | end | |
111 |
|
111 | |||
112 | should "prevent relation creation when there's a circular dependency" |
|
|||
113 |
|
||||
114 | def test_create_xhr_with_failure |
|
112 | def test_create_xhr_with_failure | |
115 | assert_no_difference 'IssueRelation.count' do |
|
113 | assert_no_difference 'IssueRelation.count' do | |
116 | xhr :post, :create, :issue_id => 3, :relation => {:issue_to_id => '999', :relation_type => 'relates', :delay => ''} |
|
114 | xhr :post, :create, :issue_id => 3, :relation => {:issue_to_id => '999', :relation_type => 'relates', :delay => ''} |
General Comments 0
You need to be logged in to leave comments.
Login now