Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Commit

Permalink
Suppress stdout while testing
Browse files Browse the repository at this point in the history
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
  • Loading branch information
okkez committed Nov 5, 2018
1 parent 47ab619 commit 47591ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_basic.rb
Expand Up @@ -4,6 +4,10 @@ class FluentdDocsTest < MiniTest::Unit::TestCase

include Rack::Test::Methods

def setup
$stdout = StringIO.new("")
end

def app
Sinatra::Application
end
Expand Down

0 comments on commit 47591ff

Please sign in to comment.