Sha256: 119eb1001eccb41ac7e0d9a0cf84f1687618f4562df9d79e94a6fdb91062f11b

Contents?: true

Size: 348 Bytes

Versions: 6

Compression:

Stored size: 348 Bytes

Contents

require 'rspec/logging_helper'
require_relative 'rspec/helpers'
require_relative 'rspec/matchers'

RSpec.configure do |config|
  config.include Ezlog::RSpec::Helpers
  config.before(:suite) do
    Logging.appenders.string_io('__ezlog_stringio__', layout: Ezlog::LoggingLayout.new)
    config.capture_log_messages to: '__ezlog_stringio__'
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ezlog-0.3.3 lib/ezlog/rspec.rb
ezlog-0.3.2 lib/ezlog/rspec.rb
ezlog-0.3.1 lib/ezlog/rspec.rb
ezlog-0.2.2 lib/ezlog/rspec.rb
ezlog-0.2.1 lib/ezlog/rspec.rb
ezlog-0.2.0 lib/ezlog/rspec.rb