diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/services/fetch_remote_resource_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/fetch_remote_resource_service_spec.rb b/spec/services/fetch_remote_resource_service_spec.rb index 79834842a..81b0e48e3 100644 --- a/spec/services/fetch_remote_resource_service_spec.rb +++ b/spec/services/fetch_remote_resource_service_spec.rb @@ -10,7 +10,7 @@ describe FetchRemoteResourceService do url = 'http://example.com/missing-atom' service = double allow(FetchAtomService).to receive(:new).and_return service - allow(service).to receive(:call).with(url).and_return([nil, 'body']) + allow(service).to receive(:call).with(url).and_return(nil) result = subject.call(url) expect(result).to be_nil |