diff options
Diffstat (limited to 'spec/features/global_search_spec.rb')
-rw-r--r-- | spec/features/global_search_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/global_search_spec.rb b/spec/features/global_search_spec.rb index c499fac6bc0..a7c8c29517e 100644 --- a/spec/features/global_search_spec.rb +++ b/spec/features/global_search_spec.rb @@ -21,7 +21,7 @@ describe 'Global search' do describe 'I search through the issues and I see pagination' do before do - allow_next_instance_of(Gitlab::SearchResults) do |instance| + allow_next_instance_of(SearchService) do |instance| allow(instance).to receive(:per_page).and_return(1) end create_list(:issue, 2, project: project, title: 'initial') |