mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
fix test
This commit is contained in:
parent
7de33125f3
commit
d1f6aba71f
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue