DEV: Fix flaky specs

This commit is contained in:
Gerhard Schlager 2021-02-09 16:56:35 +01:00 committed by Gerhard Schlager
parent 0b05302cfe
commit 5352b97f83
1 changed files with 2 additions and 2 deletions

View File

@ -4,8 +4,8 @@ require 'swagger_helper'
describe 'backups' do
let(:admin) { Fabricate(:admin) }
let(:backup_filename) { "2014-02-10-065935.tar.gz" }
let(:backup_filename2) { "2014-02-11-065935.tar.gz" }
let(:backup_filename) { "2021-02-10-065935.tar.gz" }
let(:backup_filename2) { "2021-02-11-065935.tar.gz" }
def create_backup_files(*filenames)
@paths = filenames.map do |filename|