diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-17 14:59:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-17 14:59:07 +0300 |
commit | 8b573c94895dc0ac0e1d9d59cf3e8745e8b539ca (patch) | |
tree | 544930fb309b30317ae9797a9683768705d664c4 /spec/migrations/fill_store_uploads_spec.rb | |
parent | 4b1de649d0168371549608993deac953eb692019 (diff) |
Add latest changes from gitlab-org/gitlab@13-7-stable-eev13.7.0-rc42
Diffstat (limited to 'spec/migrations/fill_store_uploads_spec.rb')
-rw-r--r-- | spec/migrations/fill_store_uploads_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/migrations/fill_store_uploads_spec.rb b/spec/migrations/fill_store_uploads_spec.rb index 60eaf982c57..bcb5d45e1c0 100644 --- a/spec/migrations/fill_store_uploads_spec.rb +++ b/spec/migrations/fill_store_uploads_spec.rb @@ -9,7 +9,7 @@ RSpec.describe FillStoreUploads do context 'when store is nil' do it 'updates store to local' do - uploads.create(size: 100.kilobytes, + uploads.create!(size: 100.kilobytes, uploader: 'AvatarUploader', path: path, store: nil) @@ -22,7 +22,7 @@ RSpec.describe FillStoreUploads do context 'when store is set to local' do it 'does not update store' do - uploads.create(size: 100.kilobytes, + uploads.create!(size: 100.kilobytes, uploader: 'AvatarUploader', path: path, store: 1) @@ -35,7 +35,7 @@ RSpec.describe FillStoreUploads do context 'when store is set to object storage' do it 'does not update store' do - uploads.create(size: 100.kilobytes, + uploads.create!(size: 100.kilobytes, uploader: 'AvatarUploader', path: path, store: 2) |