diff options
Diffstat (limited to 'spec/features/search/user_uses_search_filters_spec.rb')
-rw-r--r-- | spec/features/search/user_uses_search_filters_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/search/user_uses_search_filters_spec.rb b/spec/features/search/user_uses_search_filters_spec.rb index 86017ca64c5..24f6c70e64c 100644 --- a/spec/features/search/user_uses_search_filters_spec.rb +++ b/spec/features/search/user_uses_search_filters_spec.rb @@ -33,10 +33,10 @@ RSpec.describe 'User uses search filters', :js do wait_for_requests page.within('[data-testid="project-filter"]') do - click_on(group_project.full_name) + click_on(group_project.name) end - expect(find('[data-testid="project-filter"]')).to have_content(group_project.full_name) + expect(find('[data-testid="project-filter"]')).to have_content(group_project.name) end context 'when the group filter is set' do @@ -65,10 +65,10 @@ RSpec.describe 'User uses search filters', :js do wait_for_requests page.within('[data-testid="project-filter"]') do - click_on(project.full_name) + click_on(project.name) end - expect(find('[data-testid="project-filter"]')).to have_content(project.full_name) + expect(find('[data-testid="project-filter"]')).to have_content(project.name) end context 'when the project filter is set' do |