]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
Fix other tests to include apt appropriately.
authorAshley Penney <ashley.penney@puppetlabs.com>
Wed, 2 Oct 2013 18:04:51 +0000 (14:04 -0400)
committerAshley Penney <ashley.penney@puppetlabs.com>
Wed, 2 Oct 2013 18:46:00 +0000 (14:46 -0400)
spec/system/apt_builddep_spec.rb
spec/system/apt_key_spec.rb
spec/system/apt_source_spec.rb

index 2fb74870e5cba6a8763fa67d7fa6870314ea199e..fa16ab42f5ffa912927116eb9b77ee0b0e9e1109 100644 (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
 
index 2acc3179f281865044281ae810b6d9afa1448e89..4842cb5972ce5aacb6ccd33c2980f4de76d7cc36 100644 (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',
index 8c79f6f7e0cac85de1d7105561b05f0e6a566bb1..6a445e13eff68d7e74b25bcc49de4fb1a271e104 100644 (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',