fuel-library/deployment/puppet/cobbler/spec/spec_helper.rb
Alex Schultz d0b94c9572 Initial set of tests for cobbler module
This change includes an initial test setup for the cobbler module and
ensures that running 'rake lint' will pass.

Change-Id: I575483d8f36fcd236fd81ec012b16b44900b9960
Related-Bug: #1507751
2015-10-19 16:45:59 -05:00

16 lines
402 B
Ruby

require 'puppetlabs_spec_helper/module_spec_helper'
require 'shared_examples'
RSpec.configure do |c|
c.alias_it_should_behave_like_to :it_configures, 'configures'
c.alias_it_should_behave_like_to :it_raises, 'raises'
c.before :each do
@default_facts = {
:ipaddress => '10.0.0.1',
:hostname => 'hostname.example.com',
}
end
end
at_exit { RSpec::Puppet::Coverage.report! }