Revision d19da48d
Added by Ewoud Kohl van Wijngaarden over 10 years ago
spec/classes/foreman_spec.rb | ||
---|---|---|
})
|
||
end
|
||
|
||
it { should include_class('foreman::install') }
|
||
it { should include_class('foreman::config') }
|
||
it { should include_class('foreman::database') }
|
||
it { should include_class('foreman::service') }
|
||
it { should contain_class('foreman::install') }
|
||
it { should contain_class('foreman::config') }
|
||
it { should contain_class('foreman::database') }
|
||
it { should contain_class('foreman::service') }
|
||
end
|
||
|
||
context 'on debian' do
|
||
... | ... | |
})
|
||
end
|
||
|
||
it { should include_class('foreman::install') }
|
||
it { should include_class('foreman::config') }
|
||
it { should include_class('foreman::database') }
|
||
it { should include_class('foreman::service') }
|
||
it { should contain_class('foreman::install') }
|
||
it { should contain_class('foreman::config') }
|
||
it { should contain_class('foreman::database') }
|
||
it { should contain_class('foreman::service') }
|
||
end
|
||
end
|
Also available in: Unified diff
Clean up tests
This replaces the deprecated include_class with contain_class and
removes the redundant rspec configuration.