Sha256: f0574e985fde3c2314976f28b6e96d22a81c87f24b07200fa98414c2c773eb0e

Contents?: true

Size: 584 Bytes

Versions: 2

Compression:

Stored size: 584 Bytes

Contents

require 'bundler'
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__)

require 'rspec'
require 'coveralls'
Coveralls.wear!

ARGV = []
require 'fluent/test'

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

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
fluent-plugin-downcase-keys-0.1 spec/spec_helper.rb
fluent-plugin-rename-key-0.1.3 spec/spec_helper.rb