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:57:23 +0200 |
commit | c701ea945a9af4d1332357b9274d36fffd98c345 (patch) | |
tree | c66f31dd55b89eb457c30ee1c3a59ab9f47de04f /spec/models | |
parent | 935578b4ab6d49caa516a1c96b9bfd80f7358c74 (diff) | |
download | gitlab-ce-c701ea945a9af4d1332357b9274d36fffd98c345.tar.gz |
added additional test case
Diffstat (limited to 'spec/models')
-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 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 |