Skip to content

Commit e33e0ee

Browse files
committed
These tests are better covered by the existing unit tests.
Fix from redhat-openstack#233
1 parent 6e56c07 commit e33e0ee

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

spec/acceptance/ntp_install_spec.rb

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
require 'spec_helper_acceptance'
22

3-
packagemanage = true
4-
53
case fact('osfamily')
64
when 'FreeBSD'
75
packagename = 'net/ntp'
@@ -32,9 +30,9 @@
3230
end
3331

3432
describe 'ntp::install class', :unless => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do
35-
it 'installs the package when package_manage is set to true' do
33+
it 'installs the package' do
3634
apply_manifest(%{
37-
class { 'ntp': package_manage => true }
35+
class { 'ntp': }
3836
}, :catch_failures => true)
3937
end
4038

@@ -43,10 +41,4 @@ class { 'ntp': package_manage => true }
4341
it { should be_installed }
4442
end
4543
end
46-
47-
it 'does not install the package when package_manage is set to false' do
48-
apply_manifest(%{
49-
class { 'ntp': package_manage => false }
50-
}, :catch_changes => true)
51-
end
5244
end

0 commit comments

Comments
 (0)