summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Hanreich <stefanhani@gmail.com>2017-05-11 21:42:39 +0200
committerStefan Hanreich <stefanhani@gmail.com>2017-06-18 23:57:22 +0200
commitd60a59b067f7914ddcd7d28300f025cf125b586d (patch)
tree24df5dd09b76acabdd2ff42617602791bfa9343b
parentfde8f9d736b058e1688c87ed4d3ac835d1603937 (diff)
downloadgitlab-ce-d60a59b067f7914ddcd7d28300f025cf125b586d.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 4bf1f296803..7ec06b6d6be 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' * 62 + ' ' => 'a' * 62,
+ 'a' * 62 + ' ' => 'a' * 62
}.each do |ref, slug|
it "transforms #{ref} to #{slug}" do
build.ref = ref