Commit 41bf6167 authored by jplang's avatar jplang

Test failure (#22147).

git-svn-id: https://svn.redmine.org/redmine/trunk@15361 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 7751e3dd
......@@ -62,8 +62,8 @@ class QueriesHelperTest < ActionView::TestCase
def test_filters_options_for_select_should_group_relations_filters
with_locale 'en' do
options = filters_options_for_select(IssueQuery.new)
assert_select_in options, 'optgroup[label=?]', 'Related issues', 1
assert_select_in options, 'optgroup[label=?] > option', 'Related issues', 11
assert_select_in options, 'optgroup[label=?]', 'Relations', 1
assert_select_in options, 'optgroup[label=?] > option', 'Relations', 11
assert_select_in options, 'optgroup > option[value=relates]', :text => 'Related to'
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment