d0b94c9572
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
16 lines
402 B
Ruby
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! }
|