1 require 'spec_helper_acceptance'
3 describe 'opendaylight class' do
5 context 'default parameters' do
6 # Using puppet_apply as a helper
7 it 'should work idempotently with no errors' do
9 class { 'opendaylight': }
12 # Run it twice and test for idempotency
13 apply_manifest(pp, :catch_failures => true)
14 apply_manifest(pp, :catch_changes => true)
17 describe package('opendaylight') do
18 it { is_expected.to be_installed }
21 describe service('opendaylight') do
22 it { is_expected.to be_enabled }
23 it { is_expected.to be_running }