summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Hanreich <stefanhani@gmail.com>2017-06-19 14:13:46 +0200
committerStefan Hanreich <stefanhani@gmail.com>2017-06-19 14:13:46 +0200
commitda737f13a963075ffc952756cfd6da2997d1a348 (patch)
tree3862e2443609729e7701d95f5e66c9a79736c24e
parent4e578b50f8ea3af36d22c53014b508f3afbf8ea1 (diff)
downloadgitlab-ce-da737f13a963075ffc952756cfd6da2997d1a348.tar.gz
fixed incorrect test case
-rw-r--r--spec/models/ci/build_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb
index 7033623d413..523650eb506 100644
--- a/spec/models/ci/build_spec.rb
+++ b/spec/models/ci/build_spec.rb
@@ -1042,7 +1042,7 @@ describe Ci::Build, :models do
'a' * 64 => 'a' * 63,
'FOO' => 'foo',
'-' + 'a' * 61 + '-' => 'a' * 61,
- '-' + 'a' * 63 + '-' => 'a' * 63,
+ '-' + 'a' * 63 => 'a' * 63,
'a' * 62 + ' ' => 'a' * 62
}.each do |ref, slug|
it "transforms #{ref} to #{slug}" do