summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Hanreich <stefanhani@gmail.com>2017-05-11 21:42:39 +0200
committerStefan Hanreich <stefanhani@gmail.com>2017-05-11 21:42:39 +0200
commit78cf7dd9d83ef65be414b526b226e1620970dc27 (patch)
tree0ffe540ccddd403a0260cadcb29d7d6dc2fea4cf
parentd4e372d5c4f9c72b36481febdd5bec55edc9ee77 (diff)
downloadgitlab-ce-78cf7dd9d83ef65be414b526b226e1620970dc27.tar.gz
remove trailing comma
-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 02a2877e6fd..fbba2c8be60 100644
--- a/spec/models/ci/build_spec.rb
+++ b/spec/models/ci/build_spec.rb
@@ -974,7 +974,7 @@ describe Ci::Build, :models do
'a' * 64 => 'a' * 63,
'FOO' => 'foo',
'-' + 'a' * 61 + '-' => 'a' * 61,
- 'a' * 62 + ' ' => 'a' * 62,
+ 'a' * 62 + ' ' => 'a' * 62
}.each do |ref, slug|
it "transforms #{ref} to #{slug}" do
build.ref = ref