From 700736de5dce8bf4637c7727c23f0fcca88b67b7 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 8 Nov 2014 11:02:44 +0000 Subject: Fixed duplicate test names (#18306). git-svn-id: http://svn.redmine.org/redmine/trunk@13575 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/issue_statuses_controller_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/functional/issue_statuses_controller_test.rb') 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? -- cgit v1.2.3