Revision 346f587d
Added by Ewoud Kohl van Wijngaarden over 7 years ago
spec/classes/plugin/remote_execution_spec.rb | ||
---|---|---|
|
||
describe 'foreman::plugin::remote_execution' do
|
||
on_os_under_test.each do |os, facts|
|
||
let(:facts) { facts }
|
||
|
||
let(:pre_condition) { 'include foreman' }
|
||
|
||
context "on #{os}" do
|
||
let(:facts) { facts }
|
||
let(:pre_condition) { 'include foreman' }
|
||
|
||
it { should compile.with_all_deps }
|
||
it { should contain_foreman__plugin('remote_execution').that_notifies('Service[foreman-tasks]') }
|
||
it { should contain_foreman__plugin('tasks') }
|
||
end
|
Also available in: Unified diff
Add compilation checks to plugins