summaryrefslogtreecommitdiffstats
path: root/test/functional/issues_controller_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-09-30 13:39:19 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-09-30 13:39:19 +0000
commitd77854a6661c817781e1fc1ba442a003739bdcc6 (patch)
treec463fff56bf4888f91521ab56fd6217ac55ee547 /test/functional/issues_controller_test.rb
parentccb2a6d3ca085e53e75243909bf372d5465afe2e (diff)
downloadredmine-d77854a6661c817781e1fc1ba442a003739bdcc6.tar.gz
redmine-d77854a6661c817781e1fc1ba442a003739bdcc6.zip
Merged r18569 from trunk to 3.4-stable
fix duplicate name of IssuesControllerTest#test_bulk_copy_should_allow_copying_the_subtasks git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@18575 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/issues_controller_test.rb')
-rw-r--r--test/functional/issues_controller_test.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb
index 4eb059056..14c0b5a43 100644
--- a/test/functional/issues_controller_test.rb
+++ b/test/functional/issues_controller_test.rb
@@ -6186,7 +6186,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
@@ -6206,10 +6206,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],
@@ -6217,7 +6216,6 @@ class IssuesControllerTest < Redmine::ControllerTest
:copy_watchers => '1',
:issue => {
:project_id => ''
-
}
}
end