spec/ramaze/action/file_cache.rb in Pistos-ramaze-2008.09 vs spec/ramaze/action/file_cache.rb in Pistos-ramaze-2008.12
- old
+ new
@@ -35,10 +35,10 @@
end
describe 'Action rendering' do
behaves_like 'http'
- FileUtils.mkdir_p(public_root = __DIR__/:public)
+ FileUtils.mkdir_p(public_root = __DIR__(:public))
ramaze :file_cache => true, :public_root => public_root
def req(path)
r = get(path)