Fix failing spec

http://rubular.com/r/op7TI9UX6K
This commit is contained in:
Achilleas Pipinellis 2017-04-26 14:08:35 +02:00
parent d2889b6770
commit 3bce129570
1 changed files with 1 additions and 1 deletions

View File

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