Sha256: f7cf7fe711d480c3486728816e716d664ec2541e051902e9fd4f2938aa8eeaf5

Contents?: true

Size: 885 Bytes

Versions: 6

Compression:

Stored size: 885 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-openstack-provider/config.rb',
  'lib/vagrant-openstack-provider/errors.rb',
  'lib/vagrant-openstack-provider/provider.rb',
  'lib/vagrant-openstack-provider/client/*.rb',
  'lib/vagrant-openstack-provider/command/*.rb',
  'lib/vagrant-openstack-provider/action/*.rb'].each { |file| require file[4, file.length - 1] }

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

6 entries across 6 versions & 1 rubygems

Version Path
vagrant-openstack-provider-0.4.1 spec/vagrant-openstack-provider/spec_helper.rb
vagrant-openstack-provider-0.4.0 spec/vagrant-openstack-provider/spec_helper.rb
vagrant-openstack-provider-0.3.4.pre spec/vagrant-openstack-provider/spec_helper.rb
vagrant-openstack-provider-0.3.3 spec/vagrant-openstack-provider/spec_helper.rb
vagrant-openstack-provider-0.3.2 spec/vagrant-openstack-provider/spec_helper.rb
vagrant-openstack-provider-0.3.0 spec/vagrant-openstack-provider/spec_helper.rb