test/zold/test__helper.rb in zold-stress-0.5.1 vs test/zold/test__helper.rb in zold-stress-0.5.2

- old
+ new

@@ -18,12 +18,10 @@ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -STDOUT.sync = true - ENV['RACK_ENV'] = 'test' # require 'simplecov' # SimpleCov.start # if ENV['CI'] == 'true' @@ -36,10 +34,10 @@ require 'minitest/autorun' module Minitest class Test def test_log require 'zold/log' - @test_log ||= Zold::Log::Sync.new(ENV['TEST_QUIET_LOG'] ? Zold::Log::Quiet.new : Zold::Log::Verbose.new) + @test_log ||= ENV['TEST_QUIET_LOG'] ? Zold::Log::NULL : Zold::Log::VERBOSE end def test_opts(*argv) Slop.parse(argv + ['--ignore-score-weakness', '--network=test'], suppress_errors: true) do |o| o.integer '--pool', default: 3