Fix the build.
This commit is contained in:
parent
50257ebfb1
commit
eb755dd2a7
|
@ -248,9 +248,12 @@ describe Admin::BackupsController do
|
|||
expect(response.status).to eq(200)
|
||||
expect(response.body).to eq("")
|
||||
ensure
|
||||
File.delete(
|
||||
File.join(Backup.base_directory, 'tmp', 'test', "#{filename}.part1")
|
||||
)
|
||||
begin
|
||||
File.delete(
|
||||
File.join(Backup.base_directory, 'tmp', 'test', "#{filename}.part1")
|
||||
)
|
||||
rescue Errno::ENOENT
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue