Sha256: 7268ec67258ec34f37a389870939a14b59d26cab91b59a83c14d533cb7f13fe9

Contents?: true

Size: 880 Bytes

Versions: 3

Compression:

Stored size: 880 Bytes

Contents

require 'simplecov'

if ENV['CI']=='true'
  require 'codecov'
  require 'coveralls'
  require 'codeclimate-test-reporter'
  SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
      SimpleCov::Formatter::HTMLFormatter,
      Coveralls::SimpleCov::Formatter,
      SimpleCov::Formatter::Codecov,
      CodeClimate::TestReporter::Formatter,
  ]
  Coveralls.wear!
  CodeClimate::TestReporter.start
end
SimpleCov.start

Dir['lib/**/*.rb'].each do|file|
  require_string = file.match(/lib\/(.*)\.rb/)[1]
  require require_string
end

require 'rspec/its'

RSpec.configure do |config|
  config.mock_with :rspec do |c|
    c.syntax = [:should, :expect]
  end
  config.expect_with :rspec do |c|
    c.syntax = [:should, :expect]
  end
end

I18n.load_path << File.expand_path('locales/en.yml', Pathname.new(File.expand_path('../../', __FILE__)))

VagrantPlugins::Rimu::Logging.init

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vagrant-rimu-0.0.4 spec/spec_helper.rb
vagrant-rimu-0.0.3 spec/spec_helper.rb
vagrant-rimu-0.0.2 spec/spec_helper.rb