]> source.dussan.org Git - redmine.git/commitdiff
Wrong use of refute_includes in tests (#29708).
authorGo MAEDA <maeda@farend.jp>
Tue, 2 Oct 2018 02:12:39 +0000 (02:12 +0000)
committerGo MAEDA <maeda@farend.jp>
Tue, 2 Oct 2018 02:12:39 +0000 (02:12 +0000)
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

index 713368265b11c9eb69d3f7402fe62601f647d736..9b094ab979d649e6ca1a807bd896eb8d0a6a846c 100644 (file)
@@ -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