summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2014-02-03 16:11:07 +0100
committermh <mh@immerda.ch>2014-02-03 16:11:07 +0100
commit9de938880129bc8d8985debdf09336d63787f8ae (patch)
treeaa2b3869f1cedc8f0ffab0d55ba347874fa1f27b /spec
parentb5cc9427aeca48689913b7462e58dd905c4a788b (diff)
using correct facts in tests
Diffstat (limited to 'spec')
-rw-r--r--spec/classes/munin_client_base_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/classes/munin_client_base_spec.rb b/spec/classes/munin_client_base_spec.rb
index 1b3d936..2ddfdcc 100644
--- a/spec/classes/munin_client_base_spec.rb
+++ b/spec/classes/munin_client_base_spec.rb
@@ -13,7 +13,7 @@ describe 'munin::client::base' do
context 'on Debian' do
let :facts do
- { :operatingsystem => 'Debian' }.merge(default_facts)
+ { :osfamily => 'Debian' }.merge(default_facts)
end
it 'should compile' do
@@ -61,7 +61,7 @@ describe 'munin::client::base' do
context 'on CentOS' do
let :facts do
- { :operatingsystem => 'CentOS' }.merge(default_facts)
+ { :osfamily => 'CentOS' }.merge(default_facts)
end
it 'should contain the CentOS specific values' do
@@ -74,7 +74,7 @@ describe 'munin::client::base' do
# Disabled because the required openbsd module is not in the requirements
context 'on OpenBSD', :if => false do
let :facts do
- { :operatingsystem => 'OpenBSD' }.merge(default_facts)
+ { :osfamily => 'OpenBSD' }.merge(default_facts)
end
it 'should contain the config OpenBSD specific values' do