Fix RSpec/VerifiedDoubles cop (#25469)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2023-06-22 14:55:22 +02:00
1 parent 38433ccd0b
commit 05f9e39b32
50 files changed
+162 -172

No files matched your search

@@ -26,7 +26,7 @@ describe Api::Web::EmbedsController do
context 'when fails to find status' do
let(:url) { 'https://host.test/oembed.html' }
let(:service_instance) { double('fetch_oembed_service') }
let(:service_instance) { instance_double(FetchOEmbedService) }
before do
allow(FetchOEmbedService).to receive(:new) { service_instance }