Merge pull request #764 from tphoney/stabilise_acceptance_tests
[puppet-modules/puppetlabs-apt.git] / spec / acceptance / 01_apt_class_spec.rb
1 require 'spec_helper_acceptance'
2
3 describe 'apt class' do
4   context 'with default parameters' do
5     # Using puppet_apply as a helper
6     it 'works with no errors' do
7       pp = <<-MANIFEST
8       class { 'apt': }
9       MANIFEST
10
11       # Run it twice and test for idempotency
12       apply_manifest(pp, catch_failures: true)
13       apply_manifest(pp, catch_changes: true)
14     end
15   end
16 end