summaryrefslogtreecommitdiffstats
path: root/test/functional/issues_controller_test.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2022-01-05 00:05:45 +0000
committerGo MAEDA <maeda@farend.jp>2022-01-05 00:05:45 +0000
commitbcdb13f1fd98e6098e3479d4734bd2110e107fe2 (patch)
treea52d39012b9e1fdebad64f32b298f7b70eab8056 /test/functional/issues_controller_test.rb
parent2140b7c5a533b3125a9f31233432e4f600b6dee2 (diff)
downloadredmine-bcdb13f1fd98e6098e3479d4734bd2110e107fe2.tar.gz
redmine-bcdb13f1fd98e6098e3479d4734bd2110e107fe2.zip
Change Delete button name to Delete issue (#31278).
Contributed by Frederico Camara. git-svn-id: http://svn.redmine.org/redmine/trunk@21346 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/issues_controller_test.rb')
-rw-r--r--test/functional/issues_controller_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb
index ec7814580..28271c901 100644
--- a/test/functional/issues_controller_test.rb
+++ b/test/functional/issues_controller_test.rb
@@ -2078,7 +2078,7 @@ class IssuesControllerTest < Redmine::ControllerTest
assert_select 'a', {:count => 0, :text => 'Watch'}
assert_select 'a', {:count => 0, :text => 'Copy'}
assert_select 'div.drdn-items a', {:count => 1, :text => 'Copy link'}
- assert_select 'div.drdn-items a', {:count => 0, :text => 'Delete'}
+ assert_select 'div.drdn-items a', {:count => 0, :text => 'Delete issue'}
end
# anonymous role is allowed to add a note
assert_select 'form#issue-form' do
@@ -2100,7 +2100,7 @@ class IssuesControllerTest < Redmine::ControllerTest
assert_select 'a', {:count => 1, :text => 'Watch'}
assert_select 'a', {:count => 1, :text => 'Copy'}
assert_select 'div.drdn-items a', {:count => 1, :text => 'Copy link'}
- assert_select 'div.drdn-items a', {:count => 1, :text => 'Delete'}
+ assert_select 'div.drdn-items a', {:count => 1, :text => 'Delete issue'}
end
assert_select 'form#issue-form' do
assert_select 'fieldset' do
@@ -3023,7 +3023,7 @@ class IssuesControllerTest < Redmine::ControllerTest
get(:show, :params => {:id => 1})
assert_response :success
assert_select 'a', :text => 'Edit'
- assert_select 'a', :text => 'Delete'
+ assert_select 'a', :text => 'Delete issue'
end
def test_show_on_closed_project_should_not_display_edit_links
@@ -3032,7 +3032,7 @@ class IssuesControllerTest < Redmine::ControllerTest
get(:show, :params => {:id => 1})
assert_response :success
assert_select 'a', :text => 'Edit', :count => 0
- assert_select 'a', :text => 'Delete', :count => 0
+ assert_select 'a', :text => 'Delete issue', :count => 0
end
def test_show_should_not_display_history_tabs_for_issue_without_journals