test/rack/blogengine/document_test.rb in rack-blogengine-0.2.2 vs test/rack/blogengine/document_test.rb in rack-blogengine-0.2.3
- old
+ new
@@ -37,10 +37,10 @@
capture_stdout { cli.generate(testpath) }
document = Rack::Blogengine::Document.new
document.html = '{% test_operator %}'
- document.exec_content_operator(document, 'testfolder')
+ document.exec_content_operator(document, "#{testpath}")
assert_equal('test', document.html, 'Documents html should contain test_operators return value')
system("rm -rf #{testpath}")
end