diff modules/apache/spec/acceptance/prefork_worker_spec.rb @ 36:37675581a273 puppet-3.6

Update Puppet module for Apache (pulls in concat module)
author IBBoard <dev@ibboard.co.uk>
date Sat, 14 Mar 2015 20:07:04 +0000
parents 956e484adc12
children 675c1cc61eaf
line wrap: on
line diff
--- a/modules/apache/spec/acceptance/prefork_worker_spec.rb	Sat Mar 14 20:01:17 2015 +0000
+++ b/modules/apache/spec/acceptance/prefork_worker_spec.rb	Sat Mar 14 20:07:04 2015 +0000
@@ -6,7 +6,7 @@
 when 'Debian'
   servicename = 'apache2'
 when 'FreeBSD'
-  servicename = 'apache22'
+  servicename = 'apache24'
 end
 
 case fact('osfamily')
@@ -28,8 +28,8 @@
     end
 
     describe service(servicename) do
-      it { should be_running }
-      it { should be_enabled }
+      it { is_expected.to be_running }
+      it { is_expected.to be_enabled }
     end
   end
 end
@@ -51,8 +51,8 @@
   end
 
   describe service(servicename) do
-    it { should be_running }
-    it { should be_enabled }
+    it { is_expected.to be_running }
+    it { is_expected.to be_enabled }
   end
 end
 
@@ -73,7 +73,7 @@
   end
 
   describe service(servicename) do
-    it { should be_running }
-    it { should be_enabled }
+    it { is_expected.to be_running }
+    it { is_expected.to be_enabled }
   end
 end