Sha256: 4eb548a906003c41a518b16589343a9dfe3df7b84a33f5ec7e1888016bac45d1

Contents?: true

Size: 747 Bytes

Versions: 20

Compression:

Stored size: 747 Bytes

Contents

dir = File.expand_path(File.dirname(__FILE__))
$LOAD_PATH.unshift File.join(dir, 'lib')

# Don't want puppet getting the command line arguments for rake or autotest
ARGV.clear

require 'rubygems'
require 'bundler/setup'
require 'rspec-puppet'

Bundler.require :default, :test

require 'pathname'
require 'tmpdir'

Pathname.glob("#{dir}/shared_behaviours/**/*.rb") do |behaviour|
  require behaviour.relative_path_from(Pathname.new(dir))
end

fixture_path = File.expand_path(File.join(__FILE__, '..', 'fixtures'))

RSpec.configure do |config|
  config.tty = true
  config.mock_with :rspec do |c|
    c.syntax = :expect
  end
  config.module_path = File.join(fixture_path, 'modules')
  config.manifest_dir = File.join(fixture_path, 'manifests')
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
freighthop-0.6.1 modules/firewall/spec/spec_helper.rb
freighthop-0.6.0 modules/firewall/spec/spec_helper.rb
freighthop-0.5.2 modules/firewall/spec/spec_helper.rb
freighthop-0.5.1 modules/firewall/spec/spec_helper.rb
freighthop-0.5.0 modules/firewall/spec/spec_helper.rb
freighthop-0.4.1 modules/firewall/spec/spec_helper.rb
freighthop-0.4.0 modules/firewall/spec/spec_helper.rb
freighthop-0.3.3 modules/firewall/spec/spec_helper.rb
freighthop-0.3.2 modules/firewall/spec/spec_helper.rb
freighthop-0.3.1 modules/firewall/spec/spec_helper.rb
freighthop-0.3.0 modules/firewall/spec/spec_helper.rb
freighthop-0.2.1 modules/firewall/spec/spec_helper.rb
freighthop-0.2.0 modules/firewall/spec/spec_helper.rb
freighthop-0.1.0 modules/firewall/spec/spec_helper.rb
freighthop-0.0.6 modules/firewall/spec/spec_helper.rb
freighthop-0.0.5 modules/firewall/spec/spec_helper.rb
freighthop-0.0.4 modules/firewall/spec/spec_helper.rb
freighthop-0.0.3 modules/firewall/spec/spec_helper.rb
freighthop-0.0.2 modules/firewall/spec/spec_helper.rb
freighthop-0.0.1 modules/firewall/spec/spec_helper.rb