Commit 6dda9795 authored by Stefan Hanreich's avatar Stefan Hanreich

added additional test case

parent 589d7ea4
...@@ -974,6 +974,7 @@ describe Ci::Build, :models do ...@@ -974,6 +974,7 @@ describe Ci::Build, :models do
'a' * 64 => 'a' * 63, 'a' * 64 => 'a' * 63,
'FOO' => 'foo', 'FOO' => 'foo',
'-' + 'a' * 61 + '-' => 'a' * 61, '-' + 'a' * 61 + '-' => 'a' * 61,
'-' + 'a' * 63 + '-' => 'a' * 63,
'a' * 62 + ' ' => 'a' * 62 'a' * 62 + ' ' => 'a' * 62
}.each do |ref, slug| }.each do |ref, slug|
it "transforms #{ref} to #{slug}" do it "transforms #{ref} to #{slug}" do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment