49354c402f
This patch is the initial modulesync run, it impacts: * gitignore: just a sync between projects * gemfile: - update and allow to setup facter version and gem source - split beaker gems with a dedicated group - switch to rspec-puppet 2.2.0 * rakefile: - use the new syntax for lint configuration - add a acceptance target * acceptance: - sync nodesets * spec: - added rspec coverage report - added shared_examples rspec helper Change-Id: I5b67825ea1c284d1e655e3b4017f79a9efd79d46
11 lines
295 B
Ruby
11 lines
295 B
Ruby
require 'puppetlabs_spec_helper/module_spec_helper'
|
|
require 'shared_examples'
|
|
require 'webmock/rspec'
|
|
|
|
RSpec.configure do |c|
|
|
c.alias_it_should_behave_like_to :it_configures, 'configures'
|
|
c.alias_it_should_behave_like_to :it_raises, 'raises'
|
|
end
|
|
|
|
at_exit { RSpec::Puppet::Coverage.report! }
|