From 43d9adeb2a22cfd348ef27ba3fb0dfde002a31f3 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Tue, 2 Oct 2018 02:12:39 +0000 Subject: [PATCH] Wrong use of refute_includes in tests (#29708). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@17559 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/queries_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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