summaryrefslogtreecommitdiff
path: root/spec/factories/gitaly/tag.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/gitaly/tag.rb')
-rw-r--r--spec/factories/gitaly/tag.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/factories/gitaly/tag.rb b/spec/factories/gitaly/tag.rb
new file mode 100644
index 00000000000..e99776d524a
--- /dev/null
+++ b/spec/factories/gitaly/tag.rb
@@ -0,0 +1,9 @@
+FactoryBot.define do
+ factory :gitaly_tag, class: Gitaly::Tag do
+ skip_create
+
+ name { 'v3.1.4' }
+ message { 'Pie release' }
+ target_commit factory: :gitaly_commit
+ end
+end