summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-05-12 21:32:37 +0000
committerStan Hu <stanhu@gmail.com>2017-05-12 21:32:37 +0000
commit09ca4c92d2c6991e0b6e58894bd381758bcfd0da (patch)
tree907a3292edfd71f9560ec0e158f9914429d191db
parente4261fe3ce0e6ba38db99323b9fb479c6a182d77 (diff)
parentd36a40976801cda7ba1c43826396a800d0de68d2 (diff)
downloadgitlab-ce-09ca4c92d2c6991e0b6e58894bd381758bcfd0da.tar.gz
Merge branch 'sh-relax-backup-rake-spec' into 'master'
Relax rake backup regex to handle CE and EE RCs See merge request !11345
-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