1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-20 15:31:12 +00:00

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
This commit is contained in:
Go MAEDA 2018-10-02 02:12:39 +00:00
parent 4cd14f089c
commit 43d9adeb2a

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