1 require 'spec_helper_system'
3 describe 'apt class' do
5 context 'default parameters' do
6 # Using puppet_apply as a helper
7 it 'should work with no errors' do
12 # Run it twice and test for idempotency
13 puppet_apply(pp) do |r|
14 r.exit_code.should_not == 1
16 r.exit_code.should be_zero