spec/spec_helper.rb in fluent-plugin-elb-access-log-0.3.7.pre.beta1 vs spec/spec_helper.rb in fluent-plugin-elb-access-log-0.3.7

- old
+ new

@@ -1,10 +1,21 @@ require 'fluent/test' require 'fluent/plugin/in_elb_access_log' -require 'aws-sdk' +require 'aws-sdk-s3' require 'time' require 'timecop' +require 'rspec/match_table' + +if ENV['TRAVIS'] + require 'simplecov' + require 'coveralls' + + SimpleCov.formatter = Coveralls::SimpleCov::Formatter + SimpleCov.start do + add_filter "spec/" + end +end # Disable Test::Unit module Test::Unit::RunCount; def run(*); end; end RSpec.configure do |config|