]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - 3rdparty/modules/keystone/spec/classes/keystone_python_spec.rb
add stackforge/keystone to 3rdparty
[dsa-puppet.git] / 3rdparty / modules / keystone / spec / classes / keystone_python_spec.rb
diff --git a/3rdparty/modules/keystone/spec/classes/keystone_python_spec.rb b/3rdparty/modules/keystone/spec/classes/keystone_python_spec.rb
new file mode 100644 (file)
index 0000000..1324fb2
--- /dev/null
@@ -0,0 +1,17 @@
+require 'spec_helper'
+
+describe 'keystone::python' do
+
+  let :facts do
+    { :osfamily => 'Debian' }
+  end
+
+  it { should contain_package('python-keystone').with_ensure("present") }
+
+  describe 'override ensure' do
+    let(:params) { { :ensure => "latest" } }
+
+    it { should contain_package('python-keystone').with_ensure("latest") }
+  end
+
+end