Skip to content
Snippets Groups Projects
Commit d36a4097 authored by Stan Hu's avatar Stan Hu
Browse files

Relax rake backup regex to handle CE and EE RCs

parent b012c0b3
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment