lib/ezlog/rspec.rb in ezlog-0.3.4 vs lib/ezlog/rspec.rb in ezlog-0.3.5

- old
+ new

@@ -1,8 +1,9 @@ -require 'ezlog' +require 'logging' require 'rspec/logging_helper' require_relative 'rspec/helpers' require_relative 'rspec/matchers' +require_relative 'logging_layout' RSpec.configure do |config| config.include Ezlog::RSpec::Helpers config.before(:suite) do Logging.appenders.string_io('__ezlog_stringio__', layout: Ezlog::LoggingLayout.new)