diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-07-03 19:24:04 +0000 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-07-03 19:24:04 +0000 |
commit | fb35a3b7f4250f683b6a234dd70d24aa38f229a6 (patch) | |
tree | 9804733bfdfb03c9b27f7c428121ff2e8531a0e8 /spec/uploaders | |
parent | db26cddaaae20655776e6fac31b29e67b5edfa2e (diff) | |
parent | 3b924c13460d4afe26c386633241d1362d10e824 (diff) | |
download | gitlab-ce-fb35a3b7f4250f683b6a234dd70d24aa38f229a6.tar.gz |
Merge branch 'sh-fix-appearance-spec-failure' into 'master'
Fix order-dependent spec failure in appearance_spec.rb
Closes #64083
See merge request gitlab-org/gitlab-ce!30323
Diffstat (limited to 'spec/uploaders')
-rw-r--r-- | spec/uploaders/file_mover_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/uploaders/file_mover_spec.rb b/spec/uploaders/file_mover_spec.rb index a9e03f3d4e5..5ee0a10f38d 100644 --- a/spec/uploaders/file_mover_spec.rb +++ b/spec/uploaders/file_mover_spec.rb @@ -85,8 +85,7 @@ describe FileMover do context 'when tmp uploader is not local storage' do before do - allow(PersonalFileUploader).to receive(:object_store_enabled?) { true } - tmp_uploader.object_store = ObjectStorage::Store::REMOTE + stub_uploads_object_storage(uploader: PersonalFileUploader) allow_any_instance_of(PersonalFileUploader).to receive(:file_storage?) { false } end |