mirror of
https://gh.wpcy.net/https://github.com/Chassis/puppet-wp.git
synced 2026-04-28 07:25:54 +08:00
11 lines
418 B
Ruby
11 lines
418 B
Ruby
require 'puppetlabs_spec_helper/module_spec_helper'
|
|
require 'rspec-puppet'
|
|
|
|
fixture_path = File.join(File.dirname(File.expand_path(__FILE__)), 'fixtures')
|
|
|
|
RSpec.configure do |c|
|
|
c.module_path = File.join(fixture_path, 'modules')
|
|
c.manifest_dir = File.join(fixture_path, 'manifests')
|
|
c.manifest = File.join(fixture_path, 'manifests', 'site.pp')
|
|
c.environmentpath = File.join(Dir.pwd, 'spec')
|
|
end
|