Add spec test for removing proxy configuration.

This commit is contained in:
Dean Reilly 2013-04-12 17:26:26 +01:00 committed by Ken Barber
parent 041548bcbe
commit d8e2cf24a5

View file

@ -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