Sha256: a55fb534bdd423f94ac1cd7e7c132adc500e8ead7085050f42b89eba58b85e82

Contents?: true

Size: 496 Bytes

Versions: 10

Compression:

Stored size: 496 Bytes

Contents

# encoding: utf-8
require "logstash/devutils/rspec/spec_helper"
require "logstash/logging/logger"

LogStash::Logging::Logger::configure_logging("debug")

RSpec.configure do |config|
  # register around filter that captures stdout and stderr
  config.around(:each) do |example|
    $stdout = StringIO.new
    $stderr = StringIO.new

    example.run

    example.metadata[:stdout] = $stdout.string
    example.metadata[:stderr] = $stderr.string

    $stdout = STDOUT
    $stderr = STDERR
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
logstash-output-kusto-2.0.8-java spec/spec_helpers.rb
logstash-output-kusto-2.0.7-java spec/spec_helpers.rb
logstash-output-kusto-2.0.6-java spec/spec_helpers.rb
logstash-output-kusto-2.0.5-java spec/spec_helpers.rb
logstash-output-kusto-2.0.4-java spec/spec_helpers.rb
logstash-output-kusto-2.0.2-java spec/spec_helpers.rb
logstash-output-kusto-2.0.1-java spec/spec_helpers.rb
logstash-output-kusto-2.0.0-java spec/spec_helpers.rb
logstash-output-kusto-1.0.5-java spec/spec_helpers.rb
logstash-output-kusto-1.0.4-java spec/spec_helpers.rb