summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2017-04-26 14:08:35 +0200
committerAchilleas Pipinellis <axilleas@axilleas.me>2017-04-26 18:30:02 +0200
commit3bce12957037173011aec132acd1913fc702d48a (patch)
tree65f3ca92d0ada006e5aea49187540870b2e424f3
parentd2889b67708fb602aa2c7a52d274665581ef9021 (diff)
downloadgitlab-ce-gl-version-backup-file.tar.gz
Fix failing specgl-version-backup-file
http://rubular.com/r/op7TI9UX6K
-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 daea0c6bb37..0a4a6ed8145 100644
--- a/spec/tasks/gitlab/backup_rake_spec.rb
+++ b/spec/tasks/gitlab/backup_rake_spec.rb
@@ -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