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.
This commit is contained in:
Branan Purvine-Riley 2012-05-25 15:32:49 -07:00
parent d7a19f3219
commit 7450a5ffc0

View file

@ -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',
}