]> gitweb.fluxo.info Git - puppet-sshd.git/commitdiff
ruby 1.8.7 compatibility
authorTomas Barton <barton.tomas@gmail.com>
Sun, 26 Jan 2014 10:25:11 +0000 (11:25 +0100)
committerTomas Barton <barton.tomas@gmail.com>
Sun, 26 Jan 2014 17:26:34 +0000 (18:26 +0100)
spec/classes/init_spec.rb

index 794a92e6472add34a6201b31e6d189715c55c049..1bf07506584e615c9849a7123a7ad9958ba283b9 100644 (file)
@@ -8,11 +8,11 @@ describe 'sshd' do
     it { should contain_class('sshd') }
     it { should contain_class('sshd::client') }
 
-    it { should contain_service('sshd').with(
+    it { should contain_service('sshd').with({
       :ensure     => 'running',
       :enable     => true,
-      :hasstatus  => true,
-    )}
+      :hasstatus  => true
+    })}
 
     it { should contain_file('sshd_config').with(
       {
@@ -50,9 +50,9 @@ describe 'sshd' do
       it_behaves_like "a Linux OS"
       it { should contain_package('lsb-release') }
       it { should contain_package('openssh') }
-      it { should contain_service('sshd').with(
+      it { should contain_service('sshd').with({
         :hasrestart => true
-      )}
+      })}
     end
   end