Sha256: 1d4d19c86bf217f5154ffbfe2e10bc02e6165b7743256386a452f4e49ad7808b
Contents?: true
Size: 658 Bytes
Versions: 1
Compression:
Stored size: 658 Bytes
Contents
require_relative 'spec_helpers/fake_capture3' require_relative 'spec_helpers/test_coverage' require 'ostruct' require 'fakefs/safe' require 'minitest/stub_const' measure_coverage if coverage? require 'wright/logger' module Wright # extend Wright::Config to pass on clear for tests class Config class << self attr_accessor :config_hash end end end def reset_logger(log_level = Wright::Logger::DEBUG) Wright::Config[:log] = { colorize: false } Wright.log = Wright::Logger.new Wright.log.formatter = Wright::Logger::Formatter.new Wright.log.level = log_level end reset_logger(Wright::Logger::FATAL) require 'minitest/autorun'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wright-0.5.0 | spec/spec_helper.rb |