diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-03-06 16:50:49 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-03-06 16:53:24 +0900 |
commit | 58f0ad7a4cf5521296e3359ba084176f10bdb51a (patch) | |
tree | 8b177deeb948fe7e26a88da42f8f5e7f421ba18d /spec/services | |
parent | 7421604bd0855f7855f5562769acc9bc871fb631 (diff) | |
download | gitlab-ce-58f0ad7a4cf5521296e3359ba084176f10bdb51a.tar.gz |
Fix staticanalysysfix/sm/fix_pages_worker
Diffstat (limited to 'spec/services')
-rw-r--r-- | spec/services/projects/update_pages_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/projects/update_pages_service_spec.rb b/spec/services/projects/update_pages_service_spec.rb index 505aff1acf4..e91504194fe 100644 --- a/spec/services/projects/update_pages_service_spec.rb +++ b/spec/services/projects/update_pages_service_spec.rb @@ -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 |