Skip to content

Fix order-dependent spec failure in appearance_spec.rb

Stan Hu requested to merge sh-fix-appearance-spec-failure into master

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

Edited by Stan Hu

Merge request reports