Sha256: 8abe91071bb211e451cdd6801c434538335980433836102c4c1bb930ba02d113

Contents?: true

Size: 666 Bytes

Versions: 1

Compression:

Stored size: 666 Bytes

Contents

# frozen_string_literal: true

require 'beaker'
require 'simplecov'
require 'climate_control'
require 'fakefs/spec_helpers'

Dir.glob(Dir.pwd + '/lib/beaker/hypervisor/*.rb').sort { |file| require file }

# setup & require beaker's spec_helper.rb
beaker_gem_spec = Gem::Specification.find_by_name('beaker')
beaker_gem_dir = beaker_gem_spec.gem_dir
beaker_spec_path = File.join(beaker_gem_dir, 'spec')
$LOAD_PATH << beaker_spec_path
require File.join(beaker_spec_path, 'spec_helper.rb')

RSpec.configure do |config|
  config.include TestFileHelpers
  config.include HostHelpers
end

def with_modified_env(options, &block)
  ClimateControl.modify(options, &block)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
beaker-gke-0.1.0 spec/spec_helper.rb