diff options
Diffstat (limited to 'spec/features/projects/milestones')
-rw-r--r-- | spec/features/projects/milestones/gfm_autocomplete_spec.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/spec/features/projects/milestones/gfm_autocomplete_spec.rb b/spec/features/projects/milestones/gfm_autocomplete_spec.rb index d4ce10b5cb5..0705cdd0d9e 100644 --- a/spec/features/projects/milestones/gfm_autocomplete_spec.rb +++ b/spec/features/projects/milestones/gfm_autocomplete_spec.rb @@ -3,6 +3,8 @@ require 'spec_helper' RSpec.describe 'GFM autocomplete', :js, feature_category: :team_planning do + include Features::AutocompleteHelpers + let_it_be(:user) { create(:user, name: '💃speciąl someone💃', username: 'someone.special') } let_it_be(:group) { create(:group, name: 'Ancestor') } let_it_be(:project) { create(:project, :repository, group: group) } @@ -68,10 +70,6 @@ RSpec.describe 'GFM autocomplete', :js, feature_category: :team_planning do private - def find_autocomplete_menu - find('.atwho-view ul', visible: true) - end - def expect_autocomplete_entry(entry) page.within('.atwho-container') do expect(page).to have_content(entry) |