File download (primitive implementation)

This commit is contained in:
Alexey Verkhovsky 2005-01-22 02:49:52 +00:00
parent 9d90901cd0
commit e9a419c40f
6 changed files with 73 additions and 55 deletions

View file

@ -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

View file

@ -56,7 +56,7 @@ class WikiServiceWithNoPersistence
end
def storage_path
RAILS_ROOT + '/storage/test'
RAILS_ROOT + '/storage/test/'
end
end