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

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