]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - 3rdparty/modules/keystone/spec/classes/keystone_service_spec.rb
try with modules from master
[dsa-puppet.git] / 3rdparty / modules / keystone / spec / classes / keystone_service_spec.rb
index 29d90b0d5ec11e0b6b2b0e7a363d9d485b21d5aa..3aa302d631e1ce91dea73cb8c4862787fa0eb7ad 100644 (file)
@@ -3,13 +3,13 @@ require 'spec_helper'
 describe 'keystone::service' do
 
   describe "with default parameters" do
-    it { should contain_service('keystone').with(
-      :ensure     => 'running',
+    it { is_expected.to contain_service('keystone').with(
+      :ensure     => nil,
       :enable     => true,
       :hasstatus  => true,
       :hasrestart => true
     ) }
-    it { should_not contain_exec('validate_keystone_connection') }
+    it { is_expected.to_not contain_exec('validate_keystone_connection') }
   end
 
   describe "with validation on" do
@@ -20,12 +20,12 @@ describe 'keystone::service' do
       }
     end
 
-    it { should contain_service('keystone').with(
-      :ensure     => 'running',
+    it { is_expected.to contain_service('keystone').with(
+      :ensure     => nil,
       :enable     => true,
       :hasstatus  => true,
       :hasrestart => true
     ) }
-    it { should contain_exec('validate_keystone_connection') }
+    it { is_expected.to contain_exec('validate_keystone_connection') }
   end
 end