Browse Source

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
tags/4.0.0
Go MAEDA 5 years ago
parent
commit
43d9adeb2a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      test/functional/queries_controller_test.rb

+ 1
- 1
test/functional/queries_controller_test.rb View 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

Loading…
Cancel
Save