diff options
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 |