Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhmad Sherif <me@ahmadsherif.com>2018-03-20 22:20:12 +0300
committerAhmad Sherif <me@ahmadsherif.com>2018-05-18 21:51:10 +0300
commit019f5e2469f21c4127a2c972042839185b26bb3f (patch)
treeb4fd0fe62c05d707e4b57124ad929aa17352baba /spec/factories
parent09a387b5e7ac5221be3073b68461526c3a0dcc4a (diff)
Add handling for commit/tags with big messages
Diffstat (limited to 'spec/factories')
-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