Merged r6124 from trunk.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.2-stable@6125 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Baptiste Barth
2011-06-26 12:51:09 +00:00
parent 7d77c3544a
commit 5f33a09320
3 changed files with 20 additions and 1 deletions
@@ -74,6 +74,8 @@ class IssueRelationsControllerTest < ActionController::TestCase
:relation => {:issue_to_id => '4', :relation_type => 'relates', :delay => ''}
end
end
should "prevent relation creation when there's a circular dependency"
def test_destroy
assert_difference 'IssueRelation.count', -1 do