Relax rake backup regex to handle CE and EE RCs
See http://rubular.com/r/uTDlT85zW1
This commit is contained in:
parent
b012c0b316
commit
d36a409768
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ describe 'gitlab:app namespace rake task' do
|
|||
end
|
||||
|
||||
it 'name has human readable time' do
|
||||
expect(@backup_tar).to match(/\d+_\d{4}_\d{2}_\d{2}_\d+\.\d+\.\d+(-pre|-rc\d+)?_gitlab_backup.tar$/)
|
||||
expect(@backup_tar).to match(/\d+_\d{4}_\d{2}_\d{2}_\d+\.\d+\.\d+.*_gitlab_backup.tar$/)
|
||||
end
|
||||
end
|
||||
end # gitlab:app namespace
|
||||
|
|
Loading…
Reference in a new issue