SVG-Edit fixes
Some bugfixes from the latest SVG-Edit
This commit is contained in:
parent
105c1d79e7
commit
8aa3a9e929
7 changed files with 360 additions and 99 deletions
|
@ -142,6 +142,7 @@ class WikiControllerTest < ActionController::TestCase
|
|||
|
||||
# Tempfile doesn't know how to open files with binary flag, hence the two-step process
|
||||
Tempfile.open('instiki_export_file') { |f| @tempfile_path = f.path }
|
||||
# some wacky bug in Ruby 1.9.2p0's Tempfile is fixed by
|
||||
@tempfile_path.to_s
|
||||
begin
|
||||
File.open(@tempfile_path, 'wb') { |f| f.write(r.body); @exported_file = f.path }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue