summaryrefslogtreecommitdiffstats
path: root/test/functional/issue_statuses_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-08 11:02:44 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-08 11:02:44 +0000
commit700736de5dce8bf4637c7727c23f0fcca88b67b7 (patch)
tree7175ad1b4105425cf34f81fd3fb029fbe5da8a8f /test/functional/issue_statuses_controller_test.rb
parentfb0485d8a37e7c5afd21a3a04bbdfb4db3d98966 (diff)
downloadredmine-700736de5dce8bf4637c7727c23f0fcca88b67b7.tar.gz
redmine-700736de5dce8bf4637c7727c23f0fcca88b67b7.zip
Fixed duplicate test names (#18306).
git-svn-id: http://svn.redmine.org/redmine/trunk@13575 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/issue_statuses_controller_test.rb')
-rw-r--r--test/functional/issue_statuses_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/issue_statuses_controller_test.rb b/test/functional/issue_statuses_controller_test.rb
index 27ea81b43..2c5164ff7 100644
--- a/test/functional/issue_statuses_controller_test.rb
+++ b/test/functional/issue_statuses_controller_test.rb
@@ -96,7 +96,7 @@ class IssueStatusesControllerTest < ActionController::TestCase
assert_nil IssueStatus.find_by_id(1)
end
- def test_destroy_should_block_if_status_in_use
+ def test_destroy_should_block_if_status_is_used_by_issues
assert Issue.where(:status_id => 1).any?
Tracker.where(:default_status_id => 1).delete_all
@@ -107,7 +107,7 @@ class IssueStatusesControllerTest < ActionController::TestCase
assert_not_nil IssueStatus.find_by_id(1)
end
- def test_destroy_should_block_if_status_in_use
+ def test_destroy_should_block_if_status_is_used_as_tracker_default_status
Issue.where(:status_id => 1).delete_all
assert Tracker.where(:default_status_id => 1).any?