From 7450a5ffc0e89fbf87e2a02c4a52ff7b91258539 Mon Sep 17 00:00:00 2001 From: Branan Purvine-Riley Date: Fri, 25 May 2012 15:32:49 -0700 Subject: [PATCH] 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. --- spec/defines/source_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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', }