Sha256: 275c08e7b2ecf10d86e0c2df3f6a3e990f522b3d8e8a3a51c909a5e53b6ff78b

Contents?: true

Size: 680 Bytes

Versions: 2

Compression:

Stored size: 680 Bytes

Contents

require "codeclimate-test-reporter"
CodeClimate::TestReporter.start

require 'bundler'
require 'test/unit'
require 'fluent/test'

begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

unless ENV.has_key?('VERBOSE')
  nulllogger = Object.new
  nulllogger.instance_eval {|obj|
    def method_missing(method, *args)
      # pass
    end
  }
  $log = nulllogger
end

require 'fluent/plugin/in_spectrum'

class Test::Unit::TestCase
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fluent-plugin-spectrum-0.0.8 test/helper.rb
fluent-plugin-spectrum-0.0.7 test/helper.rb