Merge branch 'sh-fix-failing-rc1-backup-spec' into 'master'

Fix failing backup filename spec for RCs

See merge request !11318
This commit is contained in:
Stan Hu 2017-05-12 13:58:09 +00:00
commit b187377105
1 changed files with 1 additions and 1 deletions

View File

@ -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)?_gitlab_backup.tar$/)
expect(@backup_tar).to match(/\d+_\d{4}_\d{2}_\d{2}_\d+\.\d+\.\d+(-pre|-rc\d+)?_gitlab_backup.tar$/)
end
end
end # gitlab:app namespace