Mercurial > hg > soundsoftware-site
diff test/functional/issue_relations_controller_test.rb @ 507:0c939c159af4 redmine-1.2
Update to Redmine 1.2.1 on 1.2-stable branch (Redmine SVN rev 6270)
author | Chris Cannam |
---|---|
date | Thu, 14 Jul 2011 10:32:19 +0100 |
parents | 0579821a129a |
children | cbb26bc654de |
line wrap: on
line diff
--- a/test/functional/issue_relations_controller_test.rb Mon Jun 06 14:24:13 2011 +0100 +++ b/test/functional/issue_relations_controller_test.rb Thu Jul 14 10:32:19 2011 +0100 @@ -74,6 +74,8 @@ :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