Sha256: e1e1d628283817f2a963c84584232a3ac8c4e198e20d7ebf54790f171d6f25c2

Contents?: true

Size: 634 Bytes

Versions: 3

Compression:

Stored size: 634 Bytes

Contents

require 'rubygems'
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
require 'test/unit'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
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

require 'fluent/plugin/out_string_scrub'

class Test::Unit::TestCase
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fluent-plugin-string-scrub-0.0.4 test/helper.rb
fluent-plugin-string-scrub-0.0.3 test/helper.rb
fluent-plugin-string-scrub-0.0.2 test/helper.rb