Sha256: 88c70ab035e3413c451fd9bf6418a7be5b66f858087ac86ead5bbf6cbc8a5715

Contents?: true

Size: 695 Bytes

Versions: 1

Compression:

Stored size: 695 Bytes

Contents

# encoding: utf-8

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'
require 'rspec/mocks'

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

require 'fluent/test'
require 'fluent/plugin/out_http_buffered'

# TestCase base class
class Test::Unit::TestCase
  def setup_rspec(test_case)
    RSpec::Mocks.setup(test_case)
  end

  def verify_rspec
    RSpec::Mocks.verify
  end

  def teardown_rspec
    RSpec::Mocks.teardown
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluent-plugin-out-http-buffered-0.0.1 test/helper.rb