summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-09-30 13:37:13 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-09-30 13:37:13 +0000
commite53ac04cd8bc04773fe85d2fef0d0b66e9b90f5b (patch)
tree20d05f1852ac3d7e4fa13e5d92180cbc69beacb9 /test
parenta73860a0a149b0939f9a886bf1c9a72aa5ea6ce2 (diff)
downloadredmine-e53ac04cd8bc04773fe85d2fef0d0b66e9b90f5b.tar.gz
redmine-e53ac04cd8bc04773fe85d2fef0d0b66e9b90f5b.zip
Merged r18569 from trunk to 4.0-stable
fix duplicate name of IssuesControllerTest#test_bulk_copy_should_allow_copying_the_subtasks git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@18574 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-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 f93c61b1f..849cb092b 100644
--- a/test/functional/issues_controller_test.rb
+++ b/test/functional/issues_controller_test.rb
@@ -6277,7 +6277,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
@@ -6297,10 +6297,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],
@@ -6308,7 +6307,6 @@ class IssuesControllerTest < Redmine::ControllerTest
:copy_watchers => '1',
:issue => {
:project_id => ''
-
}
}
end