File download (primitive implementation)
This commit is contained in:
parent
9d90901cd0
commit
e9a419c40f
6 changed files with 73 additions and 55 deletions
|
@ -18,7 +18,7 @@ class FileControllerTest < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_file
|
||||
process 'file', 'id' => 'foo.tgz'
|
||||
process 'file', 'web' => 'wiki', 'id' => 'foo.tgz'
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
@ -56,7 +56,7 @@ class WikiServiceWithNoPersistence
|
|||
end
|
||||
|
||||
def storage_path
|
||||
RAILS_ROOT + '/storage/test'
|
||||
RAILS_ROOT + '/storage/test/'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue