summaryrefslogtreecommitdiff
path: root/spec/factories/sequences.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/sequences.rb')
-rw-r--r--spec/factories/sequences.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/factories/sequences.rb b/spec/factories/sequences.rb
index cdc64a8502e..ca0804965df 100644
--- a/spec/factories/sequences.rb
+++ b/spec/factories/sequences.rb
@@ -12,4 +12,5 @@ FactoryBot.define do
sequence(:branch) { |n| "my-branch-#{n}" }
sequence(:past_time) { |n| 4.hours.ago + (2 * n).seconds }
sequence(:iid)
+ sequence(:sha) { |n| Digest::SHA1.hexdigest("commit-like-#{n}") }
end