diff options
author | Stefan Hanreich <stefanhani@gmail.com> | 2017-06-18 23:49:04 +0200 |
---|---|---|
committer | Stefan Hanreich <stefanhani@gmail.com> | 2017-06-18 23:49:04 +0200 |
commit | 6dda9795c2a205e5960dfaf6062d15aca1c67abe (patch) | |
tree | 3f3e0c5914ce397b758ed691bd2bbb8dc1662fde | |
parent | 589d7ea484f7215cff6570080caf47751f712ed9 (diff) | |
download | gitlab-ce-6dda9795c2a205e5960dfaf6062d15aca1c67abe.tar.gz |
added additional test case
-rw-r--r-- | spec/models/ci/build_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb index fbba2c8be60..d0200a27365 100644 --- a/spec/models/ci/build_spec.rb +++ b/spec/models/ci/build_spec.rb @@ -974,6 +974,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 |