summaryrefslogtreecommitdiffstats
path: root/test/functional/queries_controller_test.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-10-02 02:12:39 +0000
committerGo MAEDA <maeda@farend.jp>2018-10-02 02:12:39 +0000
commit43d9adeb2a22cfd348ef27ba3fb0dfde002a31f3 (patch)
tree2e7b107d143519607a3a6fc93d87ec06d499f343 /test/functional/queries_controller_test.rb
parent4cd14f089c93abb8ffccfa12c1a698d391c189ea (diff)
downloadredmine-43d9adeb2a22cfd348ef27ba3fb0dfde002a31f3.tar.gz
redmine-43d9adeb2a22cfd348ef27ba3fb0dfde002a31f3.zip
Wrong use of refute_includes in tests (#29708).
Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@17559 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/queries_controller_test.rb')
-rw-r--r--test/functional/queries_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/queries_controller_test.rb b/test/functional/queries_controller_test.rb
index 713368265..9b094ab97 100644
--- a/test/functional/queries_controller_test.rb
+++ b/test/functional/queries_controller_test.rb
@@ -624,7 +624,7 @@ class QueriesControllerTest < Redmine::ControllerTest
# response includes systemwide visible version
assert_include ["OnlineStore - Systemwide visible version", "7", "open"], json
# response doesn't include non visible version
- refute_includes ["Private child of eCookbook - Private Version of public subproject", "6", "open"], json
+ assert_not_include ["Private child of eCookbook - Private Version of public subproject", "6", "open"], json
end
def test_subproject_filter_time_entries_with_project_id_should_return_filter_values