Changing the test package for debian

git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2390 980ebf18-57e1-0310-9a29-db15c13687c0
This commit is contained in:
luke 2007-04-06 15:49:38 +00:00
Родитель b8b14d3527
Коммит da4d252b3d
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -71,12 +71,12 @@ class AptPackageProviderTest < PuppetTest::TestCase
end
def test_latest
pkg = @type.create :name => 'ssh', :provider => :apt
pkg = @type.create :name => 'base-files', :provider => :apt
assert(pkg, "did not create pkg")
status = pkg.provider.query
assert(status, "ssh is not installed")
assert(status[:ensure] != :absent, "ssh is not installed")
assert(status, "base-files is not installed")
assert(status[:ensure] != :absent, "base-files is not installed")
latest = nil
assert_nothing_raised("Could not call latest") do