[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.6-1-356-g5718585
James Turnbull
james at lovedthanlost.net
Fri Jan 23 14:21:12 UTC 2009
The following commit has been merged in the master branch:
commit 8153181aa39b05847f3a5c3c9f627ca4ba629d67
Author: Sean E. Millichamp <sean at bruenor.org>
Date: Tue Sep 30 14:02:33 2008 -0400
Clean up of SELinux rspec tests so all pass
diff --git a/spec/unit/other/selinux.rb b/spec/unit/other/selinux.rb
index 3a07e09..465fc4e 100644
--- a/spec/unit/other/selinux.rb
+++ b/spec/unit/other/selinux.rb
@@ -23,6 +23,9 @@ describe Puppet.type(:file), " when manipulating file contexts" do
it "should use :seltype to get/set an SELinux user file context attribute" do
@file.property(:seltype).should == "type_t"
end
+ after :each do
+ Puppet::Type::File.clear()
+ end
end
describe Puppet.type(:selboolean), " when manipulating booleans" do
@@ -49,6 +52,9 @@ describe Puppet.type(:selboolean), " when manipulating booleans" do
@bool[:persistent] = false
@bool[:persistent].should == :false
end
+ after :each do
+ Puppet::Type::Selboolean.clear()
+ end
end
describe Puppet.type(:selmodule), " when checking policy modules" do
@@ -75,5 +81,8 @@ describe Puppet.type(:selmodule), " when checking policy modules" do
@module[:syncversion] = :false
@module.property(:syncversion).should == :false
end
+ after :each do
+ Puppet::Type::Selmodule.clear()
+ end
end
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list