mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Test failure (#22147).
git-svn-id: http://svn.redmine.org/redmine/trunk@15361 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f4ceb0e41c
commit
fcb4e510ea
@ -62,8 +62,8 @@ class QueriesHelperTest < ActionView::TestCase
|
|||||||
def test_filters_options_for_select_should_group_relations_filters
|
def test_filters_options_for_select_should_group_relations_filters
|
||||||
with_locale 'en' do
|
with_locale 'en' do
|
||||||
options = filters_options_for_select(IssueQuery.new)
|
options = filters_options_for_select(IssueQuery.new)
|
||||||
assert_select_in options, 'optgroup[label=?]', 'Related issues', 1
|
assert_select_in options, 'optgroup[label=?]', 'Relations', 1
|
||||||
assert_select_in options, 'optgroup[label=?] > option', 'Related issues', 11
|
assert_select_in options, 'optgroup[label=?] > option', 'Relations', 11
|
||||||
assert_select_in options, 'optgroup > option[value=relates]', :text => 'Related to'
|
assert_select_in options, 'optgroup > option[value=relates]', :text => 'Related to'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user