diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-17 19:05:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-17 19:05:49 +0300 |
commit | 43a25d93ebdabea52f99b05e15b06250cd8f07d7 (patch) | |
tree | dceebdc68925362117480a5d672bcff122fb625b /spec/models/upload_spec.rb | |
parent | 20c84b99005abd1c82101dfeff264ac50d2df211 (diff) |
Add latest changes from gitlab-org/gitlab@16-0-stable-eev16.0.0-rc42
Diffstat (limited to 'spec/models/upload_spec.rb')
-rw-r--r-- | spec/models/upload_spec.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/spec/models/upload_spec.rb b/spec/models/upload_spec.rb index cdf73b203af..27e2060a94b 100644 --- a/spec/models/upload_spec.rb +++ b/spec/models/upload_spec.rb @@ -96,9 +96,11 @@ RSpec.describe Upload do describe '#calculate_checksum!' do let(:upload) do - described_class.new(path: __FILE__, - size: described_class::CHECKSUM_THRESHOLD - 1.megabyte, - store: ObjectStorage::Store::LOCAL) + described_class.new( + path: __FILE__, + size: described_class::CHECKSUM_THRESHOLD - 1.megabyte, + store: ObjectStorage::Store::LOCAL + ) end it 'sets `checksum` to SHA256 sum of the file' do |