@@ -63,7 +63,7 class QueriesHelperTest < ActionView::TestCase | |||||
63 | with_locale 'en' do |
|
63 | with_locale 'en' do | |
64 | options = filters_options_for_select(IssueQuery.new) |
|
64 | options = filters_options_for_select(IssueQuery.new) | |
65 | assert_select_in options, 'optgroup[label=?]', 'Related issues', 1 |
|
65 | assert_select_in options, 'optgroup[label=?]', 'Related issues', 1 | |
66 |
assert_select_in options, 'optgroup[label=?] > option', 'Related issues', |
|
66 | assert_select_in options, 'optgroup[label=?] > option', 'Related issues', 11 | |
67 | assert_select_in options, 'optgroup > option[value=relates]', :text => 'Related to' |
|
67 | assert_select_in options, 'optgroup > option[value=relates]', :text => 'Related to' | |
68 | end |
|
68 | end | |
69 | end |
|
69 | end |
General Comments 0
You need to be logged in to leave comments.
Login now