diff --git a/spec/classes/params_spec.rb b/spec/classes/params_spec.rb index 3ca51a2..4b9f0cb 100644 --- a/spec/classes/params_spec.rb +++ b/spec/classes/params_spec.rb @@ -5,7 +5,7 @@ let :facts do { :osfamily => 'RedHat', - :operatingsystemmajrelease => 6, + :operatingsystemmajrelease => '6', } end @@ -17,7 +17,7 @@ let :facts do { :osfamily => 'RedHat', - :operatingsystemmajrelease => 4, + :operatingsystemmajrelease => '4', } end diff --git a/spec/classes/udev_spec.rb b/spec/classes/udev_spec.rb index 771921f..86d8f39 100644 --- a/spec/classes/udev_spec.rb +++ b/spec/classes/udev_spec.rb @@ -27,7 +27,7 @@ let :facts do { :osfamily => 'RedHat', - :operatingsystemmajrelease => 6, + :operatingsystemmajrelease => '6', } end diff --git a/spec/classes/udevadm/logpriority_spec.rb b/spec/classes/udevadm/logpriority_spec.rb index a1b8b10..d81ac9e 100644 --- a/spec/classes/udevadm/logpriority_spec.rb +++ b/spec/classes/udevadm/logpriority_spec.rb @@ -31,7 +31,7 @@ describe 'for osfamily RedHat and operatingsystemmajrelease 6' do let(:facts) do { :osfamily => 'RedHat', - :operatingsystemmajrelease => 6, + :operatingsystemmajrelease => '6', } end @@ -66,7 +66,7 @@ describe 'for osfamily RedHat and operatingsystemmajrelease 5' do let(:facts) do { :osfamily => 'RedHat', - :operatingsystemmajrelease => 5, + :operatingsystemmajrelease => '5', } end diff --git a/spec/classes/udevadm/trigger_spec.rb b/spec/classes/udevadm/trigger_spec.rb index 2ea8b01..040f63e 100644 --- a/spec/classes/udevadm/trigger_spec.rb +++ b/spec/classes/udevadm/trigger_spec.rb @@ -5,7 +5,7 @@ describe 'for osfamily RedHat' do let(:facts) do { :osfamily => 'RedHat', - :operatingsystemmajrelease => 6, + :operatingsystemmajrelease => '6', } end @@ -21,7 +21,7 @@ describe 'for osfamily RedHat' do let(:facts) do { :osfamily => 'RedHat', - :operatingsystemmajrelease => 5, + :operatingsystemmajrelease => '5', } end diff --git a/spec/defines/rule_spec.rb b/spec/defines/rule_spec.rb index 4a0259a..fb77f9e 100644 --- a/spec/defines/rule_spec.rb +++ b/spec/defines/rule_spec.rb @@ -26,7 +26,7 @@ let :facts do { :osfamily => 'RedHat', - :operatingsystemmajrelease => 6, + :operatingsystemmajrelease => '6', } end