From: Ashley Penney Date: Wed, 2 Oct 2013 18:04:51 +0000 (-0400) Subject: Fix other tests to include apt appropriately. X-Git-Tag: 1.4.0~4^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=ee24679f6d234952832bd014d98f7d9884ffbf60;p=puppet-modules%2Fpuppetlabs-apt.git Fix other tests to include apt appropriately. --- diff --git a/spec/system/apt_builddep_spec.rb b/spec/system/apt_builddep_spec.rb index 2fb7487..fa16ab4 100644 --- a/spec/system/apt_builddep_spec.rb +++ b/spec/system/apt_builddep_spec.rb @@ -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 diff --git a/spec/system/apt_key_spec.rb b/spec/system/apt_key_spec.rb index 2acc317..4842cb5 100644 --- a/spec/system/apt_key_spec.rb +++ b/spec/system/apt_key_spec.rb @@ -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', diff --git a/spec/system/apt_source_spec.rb b/spec/system/apt_source_spec.rb index 8c79f6f..6a445e1 100644 --- a/spec/system/apt_source_spec.rb +++ b/spec/system/apt_source_spec.rb @@ -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',