Browse Source

Test failure (#22147).

git-svn-id: http://svn.redmine.org/redmine/trunk@15361 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/3.3.0
Jean-Philippe Lang 8 years ago
parent
commit
fcb4e510ea
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      test/unit/helpers/queries_helper_test.rb

+ 2
- 2
test/unit/helpers/queries_helper_test.rb View File

@@ -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

Loading…
Cancel
Save