Update specs for #145
This commit is contained in:
parent
6cde028332
commit
5db24d8e33
1 changed files with 4 additions and 4 deletions
|
@ -73,7 +73,7 @@ describe 'apt::ppa', :type => :define do
|
||||||
|
|
||||||
it { should contain_exec("add-apt-repository-#{title}").with(
|
it { should contain_exec("add-apt-repository-#{title}").with(
|
||||||
'environment' => [],
|
'environment' => [],
|
||||||
'command' => "/usr/bin/add-apt-repository #{title}",
|
'command' => "/usr/bin/add-apt-repository #{options} #{title}",
|
||||||
'creates' => "/etc/apt/sources.list.d/#{filename}",
|
'creates' => "/etc/apt/sources.list.d/#{filename}",
|
||||||
'require' => ["File[/etc/apt/sources.list.d]", "Package[#{package}]"],
|
'require' => ["File[/etc/apt/sources.list.d]", "Package[#{package}]"],
|
||||||
'notify' => "Exec[apt_update]"
|
'notify' => "Exec[apt_update]"
|
||||||
|
|
Loading…
Reference in a new issue