Fix staticanalysys

This commit is contained in:
Shinya Maeda 2018-03-06 16:50:49 +09:00
parent 7421604bd0
commit 58f0ad7a4c

View file

@ -164,7 +164,7 @@ describe Projects::UpdatePagesService do
context 'when timeout happens by DNS error' do
before do
allow_any_instance_of(Projects::UpdatePagesService)
allow_any_instance_of(described_class)
.to receive(:extract_zip_archive!).and_raise(SocketError)
end