summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-05-12 12:55:18 -0700
committerStan Hu <stanhu@gmail.com>2017-05-12 13:00:03 -0700
commitd36a40976801cda7ba1c43826396a800d0de68d2 (patch)
tree2e7ee84b0dbc094d3a37be87d873ffc7629a18a4
parentb012c0b3164e58b55c9860ea6874b76491669a40 (diff)
downloadgitlab-ce-sh-relax-backup-rake-spec.tar.gz
Relax rake backup regex to handle CE and EE RCssh-relax-backup-rake-spec
See http://rubular.com/r/uTDlT85zW1
-rw-r--r--spec/tasks/gitlab/backup_rake_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/tasks/gitlab/backup_rake_spec.rb b/spec/tasks/gitlab/backup_rake_spec.rb
index aee926877e0..4def113dd77 100644
--- a/spec/tasks/gitlab/backup_rake_spec.rb
+++ b/spec/tasks/gitlab/backup_rake_spec.rb
@@ -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