]> source.dussan.org Git - redmine.git/commitdiff
fix duplicate name of IssuesControllerTest#test_bulk_copy_should_allow_copying_the_su...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 30 Sep 2019 12:47:52 +0000 (12:47 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 30 Sep 2019 12:47:52 +0000 (12:47 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18569 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
test/functional/issues_controller_test.rb

index 7f189a08108ae96a01b5e9d75699043b068417b3..133143fd500fec2e1eed764b92d83c86cb5aeddf 100644 (file)
@@ -505,7 +505,6 @@ Lint/DuplicateMethods:
     - 'app/models/custom_field_value.rb'
     - 'app/models/query.rb'
     - 'app/models/wiki_page.rb'
-    - 'test/functional/issues_controller_test.rb'
 
 Lint/EmptyWhen:
   Exclude:
index b9ef3bb278c4eff36e7baec605e4a75ede622e4f..adbe6b794df49fbefd8625616f8898a22c77fdf5 100644 (file)
@@ -6585,7 +6585,7 @@ class IssuesControllerTest < Redmine::ControllerTest
     end
   end
 
-  def test_bulk_copy_should_allow_copying_the_subtasks
+  test "bulk copy should allow copying the subtasks" do
     issue = Issue.generate_with_descendants!
     count = issue.descendants.count
     @request.session[:user_id] = 2
@@ -6605,10 +6605,9 @@ class IssuesControllerTest < Redmine::ControllerTest
     assert_equal count, copy.descendants.count
   end
 
-  def test_bulk_copy_should_allow_copying_the_subtasks
+  test "issue bulk copy copy watcher" do
     Watcher.create!(:watchable => Issue.find(1), :user => User.find(3))
     @request.session[:user_id] = 2
-
     assert_difference 'Issue.count' do
       post :bulk_update, :params => {
           :ids => [1],
@@ -6616,7 +6615,6 @@ class IssuesControllerTest < Redmine::ControllerTest
           :copy_watchers => '1',
           :issue => {
             :project_id => ''
-
           }
         }
     end