Commit Graph

20 Commits

Author SHA1 Message Date
Toshi MARUYAMA 178f64950f code layout cleanup test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10573 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-09 11:02:56 +00:00
Toshi MARUYAMA 727aad50b7 add missing fixtures to test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10572 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-09 10:41:16 +00:00
Jean-Philippe Lang ba5a052c8c Copyright update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 12:56:53 +00:00
Toshi MARUYAMA d3fa89b42c code layout clean up of test_set_issue_to_dates_without_issue_to at test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7603 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:23:09 +00:00
Toshi MARUYAMA 864d6d2880 code layout clean up of test_relation_type_for at test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:22:43 +00:00
Toshi MARUYAMA 33349c93db code layout clean up of test_follows_relation_should_not_be_reversed_if_validation_fails at test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:22:07 +00:00
Toshi MARUYAMA ce7bd36a20 code layout clean up of test_follows_relation_should_be_reversed at test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7600 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:21:35 +00:00
Toshi MARUYAMA 64a6f9583f code layout clean up of test_create at test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7599 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:20:59 +00:00
Toshi MARUYAMA 64c0bdb501 Rails3: test: replace deprecated errors.on at test_validates_circular_dependency_on_reverse_relations of unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7598 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:20:30 +00:00
Toshi MARUYAMA 4dcb0ada8d Rails3: test: replace deprecated errors.on at test_validates_circular_dependency of unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7597 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:19:40 +00:00
Toshi MARUYAMA 09051680e4 remove trailing white-spaces from test/unit/issue_relation_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6748 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 14:06:11 +00:00
Jean-Philippe Lang 79f25c08f8 Document why relation is reversed after validation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6178 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:31:06 +00:00
Jean-Philippe Lang ea06b3cca5 Set a default value for relation type.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6177 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:29:33 +00:00
Jean-Baptiste Barth f982c5b90d Fixed circular dependencies possibly introduced when using reverse relations, for instance "blocked by" relations (#8616).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6124 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-26 12:47:15 +00:00
Jean-Philippe Lang d2b6a6bc2c Adds a test for issue circular dependency validation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-15 14:03:39 +00:00
Jean-Baptiste Barth 17f86d964f Use absolute paths in test/**/* requires for Ruby 1.9.2 compatibility. #4050
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-12 23:24:34 +00:00
Jean-Philippe Lang 7fb0fe2e91 Safer code in IssueRelation (#7018).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-04 18:10:02 +00:00
Jean-Philippe Lang cbd4af236c Adds issue relations to individual issue XML (#5305).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3729 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-05-01 14:07:36 +00:00
Jean-Philippe Lang 77aeca5d55 Fixes 'follows' relation validation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3191 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-18 20:59:30 +00:00
Jean-Philippe Lang beb20e7c6e Adds 'follows' relation (#1432).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3190 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-18 20:35:16 +00:00