Filter issues after project status (#20081).

Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17607 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2018-10-29 04:03:52 +00:00
parent a99c7104c1
commit 21034c5628
7 changed files with 94 additions and 1 deletions

View File

@@ -75,7 +75,7 @@ class QueriesHelperTest < Redmine::HelperTest
with_locale 'en' do
options = filters_options_for_select(IssueQuery.new)
assert_select_in options, 'optgroup[label=?]', 'Project', 1
assert_select_in options, 'optgroup[label=?] > option', 'Project', 2
assert_select_in options, 'optgroup[label=?] > option', 'Project', 3
assert_select_in options, 'optgroup > option[value=?]', "project.cf_#{cf1.id}", :text => "Project's Foo"
end
end