Fix other tests to include apt appropriately.

This commit is contained in:
Ashley Penney 2013-10-02 14:04:51 -04:00
parent 2f9c16a273
commit ee24679f6d
3 changed files with 3 additions and 0 deletions

View file

@ -12,6 +12,7 @@ describe 'apt::builddep' do
context 'apt::builddep' do
it 'should work with no errors' do
pp = <<-EOS
include '::apt'
apt::builddep { 'glusterfs-server': }
EOS

View file

@ -12,6 +12,7 @@ describe 'apt::key' do
context 'apt::key' do
it 'should work with no errors' do
pp = <<-EOS
include '::apt'
apt::key { 'puppetlabs':
key => '4BD6EC30',
key_server => 'pgp.mit.edu',

View file

@ -12,6 +12,7 @@ describe 'apt::source' do
context 'apt::source' do
it 'should work with no errors' do
pp = <<-EOS
include '::apt'
apt::source { 'puppetlabs':
location => 'http://apt.puppetlabs.com',
repos => 'main',