Add spec test for removing proxy configuration.
This commit is contained in:
parent
041548bcbe
commit
d8e2cf24a5
1 changed files with 5 additions and 1 deletions
|
@ -120,7 +120,11 @@ describe 'apt', :type => :class do
|
|||
'notify' => "Exec[apt_update]"
|
||||
)
|
||||
else
|
||||
should_not contain_file('configure_apt_proxy')
|
||||
should contain_file('configure-apt-proxy').with(
|
||||
'path' => '/etc/apt/apt.conf.d/proxy',
|
||||
'notify' => 'Exec[apt_update]',
|
||||
'ensure' => 'absent'
|
||||
)
|
||||
end
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue