Update specs for #145

This commit is contained in:
Hunter Haugen 2013-08-05 13:41:25 -07:00
parent 6cde028332
commit 5db24d8e33

View file

@ -73,7 +73,7 @@ describe 'apt::ppa', :type => :define do
it { should contain_exec("add-apt-repository-#{title}").with(
'environment' => [],
'command' => "/usr/bin/add-apt-repository #{title}",
'command' => "/usr/bin/add-apt-repository #{options} #{title}",
'creates' => "/etc/apt/sources.list.d/#{filename}",
'require' => ["File[/etc/apt/sources.list.d]", "Package[#{package}]"],
'notify' => "Exec[apt_update]"