FIX: Backup validation wasn't escaping hyphens

This commit is contained in:
cpradio
2016-09-16 15:20:42 -04:00
parent 28f857c530
commit 0d2d8797b6
2 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ describe Admin::BackupsController do
described_class.any_instance.expects(:has_enough_space_on_disk?).returns(true)
xhr :post, :upload_backup_chunk,
resumableFilename: 'test.tar.gz',
resumableFilename: 'test_Site-0123456789.tar.gz',
resumableTotalSize: 1,
resumableIdentifier: 'test',
resumableChunkNumber: '1',