summaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2022-02-23 21:16:18 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2022-02-23 21:16:18 +0000
commitba74ba1c702e7a122328094341e659c2baf9fd3d (patch)
treeb6d43d8beaf9538ff54bebd16768f29f7ef782a6 /test/functional
parent3a6c43deeec8f9f444008e43f53e58a6614716ed (diff)
downloadredmine-ba74ba1c702e7a122328094341e659c2baf9fd3d.tar.gz
redmine-ba74ba1c702e7a122328094341e659c2baf9fd3d.zip
Allow users to be mentioned using @ in issues and wiki pages (#13919):
* the user must have add watchers permission on that object in order to mention other users * mentioned user will receive a notification email * only visible users who can view the object can be mentioned git-svn-id: http://svn.redmine.org/redmine/trunk@21435 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/auto_completes_controller_test.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/functional/auto_completes_controller_test.rb b/test/functional/auto_completes_controller_test.rb
index adda40422..33da211a5 100644
--- a/test/functional/auto_completes_controller_test.rb
+++ b/test/functional/auto_completes_controller_test.rb
@@ -79,7 +79,7 @@ class AutoCompletesControllerTest < Redmine::ControllerTest
assert_include "Bug #13", response.body
end
- def test_auto_complete_with_scope_all_should_search_other_projects
+ def test_issues_with_scope_all_should_search_other_projects
get(
:issues,
:params => {
@@ -92,13 +92,13 @@ class AutoCompletesControllerTest < Redmine::ControllerTest
assert_include "Bug #13", response.body
end
- def test_auto_complete_without_project_should_search_all_projects
+ def test_issues_without_project_should_search_all_projects
get(:issues, :params => {:q => '13'})
assert_response :success
assert_include "Bug #13", response.body
end
- def test_auto_complete_without_scope_all_should_not_search_other_projects
+ def test_issues_without_scope_all_should_not_search_other_projects
get(
:issues,
:params => {
@@ -128,7 +128,7 @@ class AutoCompletesControllerTest < Redmine::ControllerTest
assert_equal 'Bug #13: Subproject issue two', issue['label']
end
- def test_auto_complete_with_status_o_should_return_open_issues_only
+ def test_issues_with_status_o_should_return_open_issues_only
get(
:issues,
:params => {
@@ -142,7 +142,7 @@ class AutoCompletesControllerTest < Redmine::ControllerTest
assert_not_include "closed", response.body
end
- def test_auto_complete_with_status_c_should_return_closed_issues_only
+ def test_issues_with_status_c_should_return_closed_issues_only
get(
:issues,
:params => {
@@ -156,7 +156,7 @@ class AutoCompletesControllerTest < Redmine::ControllerTest
assert_not_include "Issue due today", response.body
end
- def test_auto_complete_with_issue_id_should_not_return_that_issue
+ def test_issues_with_issue_id_should_not_return_that_issue
get(
:issues,
:params => {
@@ -182,7 +182,7 @@ class AutoCompletesControllerTest < Redmine::ControllerTest
assert_include 'application/json', response.headers['Content-Type']
end
- def test_auto_complete_without_term_should_return_last_10_issues
+ def test_issue_without_term_should_return_last_10_issues
# There are 9 issues generated by fixtures
# and we need two more to test the 10 limit
%w(1..2).each do