summaryrefslogtreecommitdiff
path: root/spec/tasks
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-05-11 22:31:20 -0700
committerStan Hu <stanhu@gmail.com>2017-05-11 22:31:20 -0700
commit5bed3390aa9f9df96552ef0a2c1911bcfc36974e (patch)
tree9ba2def01fad435c3196c5060602e08a0f00f063 /spec/tasks
parentb4b7cf5a3076abadb4c4441b21459fa0397016a1 (diff)
downloadgitlab-ce-5bed3390aa9f9df96552ef0a2c1911bcfc36974e.tar.gz
Fix failing backup filename spec for RCssh-fix-failing-rc1-backup-spec
See http://rubular.com/r/9oI7K8b773 for more details.
Diffstat (limited to 'spec/tasks')
-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 df2f2ce95e6..aee926877e0 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)?_gitlab_backup.tar$/)
+ expect(@backup_tar).to match(/\d+_\d{4}_\d{2}_\d{2}_\d+\.\d+\.\d+(-pre|-rc\d+)?_gitlab_backup.tar$/)
end
end
end # gitlab:app namespace