2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00
This commit is contained in:
Sam 2014-09-23 09:55:20 +10:00
parent 7de33125f3
commit d1f6aba71f

View file

@ -101,6 +101,7 @@ describe Admin::BackupsController do
describe ".show" do
it "uses send_file to transmit the backup" do
FileUtils.mkdir_p Backup.base_directory
File.open(Backup.base_directory << "/" << backup_filename, "w") do |f|
f.write("hello")
end