summaryrefslogtreecommitdiff
path: root/spec/factories/lfs_objects.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/lfs_objects.rb')
-rw-r--r--spec/factories/lfs_objects.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/factories/lfs_objects.rb b/spec/factories/lfs_objects.rb
index 631d87cfb12..35fc4db8519 100644
--- a/spec/factories/lfs_objects.rb
+++ b/spec/factories/lfs_objects.rb
@@ -5,7 +5,7 @@ include ActionDispatch::TestProcess
FactoryBot.define do
factory :lfs_object do
sequence(:oid) { |n| "b68143e6463773b1b6c6fd009a76c32aeec041faff32ba2ed42fd7f708a%05x" % n }
- size 499013
+ size { 499013 }
end
trait :with_file do
@@ -15,8 +15,8 @@ FactoryBot.define do
# The uniqueness constraint means we can't use the correct OID for all LFS
# objects, so the test needs to decide which (if any) object gets it
trait :correct_oid do
- oid 'b804383982bb89b00e828e3f44c038cc991d3d1768009fc39ba8e2c081b9fb75'
- size 1062
+ oid { 'b804383982bb89b00e828e3f44c038cc991d3d1768009fc39ba8e2c081b9fb75' }
+ size { 1062 }
end
trait :object_storage do