summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Hanreich <stefanhani@gmail.com>2017-06-18 23:49:04 +0200
committerStefan Hanreich <stefanhani@gmail.com>2017-06-18 23:57:23 +0200
commitc701ea945a9af4d1332357b9274d36fffd98c345 (patch)
treec66f31dd55b89eb457c30ee1c3a59ab9f47de04f
parent935578b4ab6d49caa516a1c96b9bfd80f7358c74 (diff)
downloadgitlab-ce-c701ea945a9af4d1332357b9274d36fffd98c345.tar.gz
added additional test case
-rw-r--r--spec/models/ci/build_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb
index 7ec06b6d6be..7033623d413 100644
--- a/spec/models/ci/build_spec.rb
+++ b/spec/models/ci/build_spec.rb
@@ -1042,6 +1042,7 @@ describe Ci::Build, :models do
'a' * 64 => 'a' * 63,
'FOO' => 'foo',
'-' + 'a' * 61 + '-' => 'a' * 61,
+ '-' + 'a' * 63 + '-' => 'a' * 63,
'a' * 62 + ' ' => 'a' * 62
}.each do |ref, slug|
it "transforms #{ref} to #{slug}" do