1 require 'spec_helper_acceptance'
3 describe 'apache::service class', :unless => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do
4 describe 'adding dependencies in between the base class and service class' do
5 it 'should work with no errors' do
9 require => Class['apache'],
10 notify => Class['apache::service'],
14 # Run it twice and test for idempotency
15 apply_manifest(pp, :catch_failures => true)
16 expect(apply_manifest(pp, :catch_failures => true).exit_code).to be_zero