Sha256: 278b0a3d239c35b7a4e61005b9961e9dff1ef8e3eb1a3229fa712caf1fc14bde

Contents?: true

Size: 792 Bytes

Versions: 7

Compression:

Stored size: 792 Bytes

Contents

require 'simplecov'
SimpleCov.start

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 'vcr'
VCR.configure do |config|
  config.cassette_library_dir = 'test/cassettes'
  config.hook_into :webmock
  config.ignore_hosts 'codeclimate.com'
end

class Test::Unit::TestCase
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fluent-plugin-ec2-metadata-0.1.3 test/helper.rb
fluent-plugin-ec2-metadata-0.1.2 test/helper.rb
fluent-plugin-ec2-metadata-0.1.1 test/helper.rb
fluent-plugin-ec2-metadata-0.1.0 test/helper.rb
fluent-plugin-ec2-metadata-0.0.15 test/helper.rb
fluent-plugin-ec2-metadata-0.0.14 test/helper.rb
fluent-plugin-ec2-metadata-0.0.13 test/helper.rb