Commit 58f0ad7a authored by Shinya Maeda's avatar Shinya Maeda

Fix staticanalysys

parent 7421604b
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment