Remove a bunch of 3rdparty modules that seem unused
[mirror/dsa-puppet.git] / 3rdparty / modules / keystone / spec / unit / type / keystone_tenant_spec.rb
diff --git a/3rdparty/modules/keystone/spec/unit/type/keystone_tenant_spec.rb b/3rdparty/modules/keystone/spec/unit/type/keystone_tenant_spec.rb
deleted file mode 100644 (file)
index 978fa22..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-require 'spec_helper'
-require 'puppet'
-require 'puppet/type/keystone_tenant'
-
-describe Puppet::Type.type(:keystone_tenant) do
-
-  before :each do
-    @project = Puppet::Type.type(:keystone_tenant).new(
-    :name   => 'foo',
-    :domain => 'foo-domain',
-    )
-
-    @domain = @project.parameter('domain')
-  end
-
-  it 'should not be in sync for domain changes' do
-    expect { @domain.insync?('not-the-domain') }.to raise_error(Puppet::Error, /The domain cannot be changed from/)
-    expect { @domain.insync?(nil) }.to raise_error(Puppet::Error, /The domain cannot be changed from/)
-  end
-
-  it 'should be in sync if domain is the same' do
-    expect(@domain.insync?('foo-domain')).to be true
-  end
-
-end