Sha256: b7ac72c76ed0606a59a493de2d3e7f93e5d50f7357f5eff3b0d1f76c299da288

Contents?: true

Size: 1013 Bytes

Versions: 8

Compression:

Stored size: 1013 Bytes

Contents

if ENV['COVERAGE'] != 'false'
  require 'simplecov'
  require 'coveralls'
  SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
      SimpleCov::Formatter::HTMLFormatter,
      Coveralls::SimpleCov::Formatter
  ]
  SimpleCov.start do
    add_filter 'spec'
  end
end

Dir[
  'lib/vagrant-deltacloud-provider/config.rb',
  'lib/vagrant-deltacloud-provider/config_resolver.rb',
  'lib/vagrant-deltacloud-provider/utils.rb',
  'lib/vagrant-deltacloud-provider/errors.rb',
  'lib/vagrant-deltacloud-provider/provider.rb',
  'lib/vagrant-deltacloud-provider/client/*.rb',
  'lib/vagrant-deltacloud-provider/command/*.rb',
  'lib/vagrant-deltacloud-provider/action/*.rb'].each { |file| require file[4, file.length - 1] }

require 'rspec/its'
require 'webmock/rspec'
require 'fakefs/safe'
require 'fakefs/spec_helpers'

RSpec.configure do |config|
  config.include FakeFS::SpecHelpers, fakefs: true
end

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
vagrant-deltacloud-provider-0.0.9 spec/vagrant-deltacloud-provider/spec_helper.rb
vagrant-deltacloud-provider-0.0.8 spec/vagrant-deltacloud-provider/spec_helper.rb
vagrant-deltacloud-provider-0.0.7 spec/vagrant-deltacloud-provider/spec_helper.rb
vagrant-deltacloud-provider-0.0.6 spec/vagrant-deltacloud-provider/spec_helper.rb
vagrant-deltacloud-provider-0.0.5 spec/vagrant-deltacloud-provider/spec_helper.rb
vagrant-deltacloud-provider-0.0.4 spec/vagrant-deltacloud-provider/spec_helper.rb
vagrant-deltacloud-provider-0.0.3 spec/vagrant-deltacloud-provider/spec_helper.rb
vagrant-deltacloud-provider-0.0.2 spec/vagrant-deltacloud-provider/spec_helper.rb