]> source.dussan.org Git - redmine.git/commitdiff
Fixed duplicate test names (#18306).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 8 Nov 2014 11:02:44 +0000 (11:02 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 8 Nov 2014 11:02:44 +0000 (11:02 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@13575 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/issue_statuses_controller_test.rb

index 27ea81b430334f7fe4f2ea04d99a70881ce27188..2c5164ff7036b05729e76e3baaff1ba4b25d11d4 100644 (file)
@@ -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?