From: Branan Purvine-Riley Date: Fri, 25 May 2012 22:32:49 +0000 (-0700) Subject: Fix the spec test for apt::source X-Git-Tag: 0.0.4~3^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=7450a5ffc0e89fbf87e2a02c4a52ff7b91258539;p=puppet-modules%2Fpuppetlabs-apt.git Fix the spec test for apt::source the $location paramater is meant to be a deb location, so it should be formatted as a URI. --- diff --git a/spec/defines/source_spec.rb b/spec/defines/source_spec.rb index ed9ce52..583c619 100644 --- a/spec/defines/source_spec.rb +++ b/spec/defines/source_spec.rb @@ -22,7 +22,7 @@ describe 'apt::source', :type => :define do [{}, { - :location => 'somewhere', + :location => 'http://example.com', :release => 'precise', :repos => 'security', :include_src => false, @@ -39,7 +39,7 @@ describe 'apt::source', :type => :define do }, { :ensure => 'absent', - :location => 'somewhere', + :location => 'http://example.com', :release => 'precise', :repos => 'security', }