diff options
author | Stan Hu <stanhu@gmail.com> | 2019-07-03 21:27:16 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-07-03 21:27:16 +0300 |
commit | 3b924c13460d4afe26c386633241d1362d10e824 (patch) | |
tree | 9804733bfdfb03c9b27f7c428121ff2e8531a0e8 /spec/models/appearance_spec.rb | |
parent | db26cddaaae20655776e6fac31b29e67b5edfa2e (diff) |
Fix order-dependent spec failure in appearance_spec.rb
When file_mover_spec.rb ran, it would initialize fog-aws with
`Fog::AWS::Storage::Real` service instead of `Fog::AWS::Storage::Mock`
because `Fog.mock!` was not called. Ensure that we use
`stub_uploads_object_storage` to prevent that from happening.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64083
Diffstat (limited to 'spec/models/appearance_spec.rb')
-rw-r--r-- | spec/models/appearance_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/appearance_spec.rb b/spec/models/appearance_spec.rb index 75d850623f4..209d138f956 100644 --- a/spec/models/appearance_spec.rb +++ b/spec/models/appearance_spec.rb @@ -21,7 +21,7 @@ describe Appearance do end end - context 'with uploads', :quarantine do + context 'with uploads' do it_behaves_like 'model with uploads', false do let(:model_object) { create(:appearance, :with_logo) } let(:upload_attribute) { :logo } |