diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-01 18:09:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-01 18:09:28 +0300 |
commit | 893ba862a7808ac7099c0d5c6d6ad618ae4e2665 (patch) | |
tree | 1465b217b3111ddc7b0120bdbbce2ebc377f42fa /spec/frontend/fixtures/search.rb | |
parent | 7b2635a55d4e87431bae752bd44c6fd2d2657b03 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/fixtures/search.rb')
-rw-r--r-- | spec/frontend/fixtures/search.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/fixtures/search.rb b/spec/frontend/fixtures/search.rb index 7819d0774a7..f43ed2cfbd3 100644 --- a/spec/frontend/fixtures/search.rb +++ b/spec/frontend/fixtures/search.rb @@ -67,8 +67,8 @@ RSpec.describe SearchController, '(JavaScript fixtures)', type: :controller do end it 'search/blob_search_result.html' do - expect_next_instance_of(SearchService) do |search_service| - expect(search_service).to receive(:search_objects).and_return(blobs) + allow_next_instance_of(SearchServicePresenter) do |search_service| + allow(search_service).to receive(:search_objects).and_return(blobs) end get :show, params: { |