diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-07-03 22:24:04 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2019-07-16 19:29:00 +0300 |
commit | 8bc768d86f1fd341a6ee9cc38fecacbff2d63cdd (patch) | |
tree | 73de07ced5f4e02f3320d36e56652a5c0b65e692 | |
parent | 08a51a9db938bb05f9a4c999075d010079e16bad (diff) |
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
-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 |