test/rack/blogengine/application_test.rb in rack-blogengine-1.0.0 vs test/rack/blogengine/application_test.rb in rack-blogengine-1.0.1

- old
+ new

@@ -21,10 +21,10 @@ def app Rack::Blogengine::Application.new end def setup - @cli = Rack::Blogengine::CommandLineInterface.new + @cli = Rack::Blogengine::CommandLineInterface capture_stdout { @cli.generate(testpath) } Rack::Blogengine.config = @cli.send(:get_config, testpath) Rack::Blogengine.documents = Rack::Blogengine::DocumentParser.parse_in_documents(testpath) end