test/rack/blogengine/document_parser_test.rb in rack-blogengine-1.0.0 vs test/rack/blogengine/document_parser_test.rb in rack-blogengine-1.0.1
- old
+ new
@@ -5,10 +5,10 @@
#
# @author [benny]
#
class DocumentParserTest < MiniTest::Unit::TestCase
def setup
- @cli = Rack::Blogengine::CommandLineInterface.new
+ @cli = Rack::Blogengine::CommandLineInterface
capture_stdout { @cli.generate(testpath) }
@cli.send(:get_config, testpath)
end
def test_parse_in_documents