diff --git a/test/unit/helpers/queries_helper_test.rb b/test/unit/helpers/queries_helper_test.rb index c7c264ab4..485593806 100644 --- a/test/unit/helpers/queries_helper_test.rb +++ b/test/unit/helpers/queries_helper_test.rb @@ -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