diff options
| author | Sean E. Millichamp <sean@bruenor.org> | 2008-09-30 14:02:33 -0400 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2008-10-03 14:33:32 +1000 |
| commit | 8153181aa39b05847f3a5c3c9f627ca4ba629d67 (patch) | |
| tree | 4dd6391e0794af2a615b3daeeab86577d09046db | |
| parent | e77ddc16570fd15b161db416e7dd35f95e7fb0ac (diff) | |
| download | puppet-8153181aa39b05847f3a5c3c9f627ca4ba629d67.tar.gz puppet-8153181aa39b05847f3a5c3c9f627ca4ba629d67.tar.xz puppet-8153181aa39b05847f3a5c3c9f627ca4ba629d67.zip | |
Clean up of SELinux rspec tests so all pass
| -rw-r--r-- | spec/unit/other/selinux.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/unit/other/selinux.rb b/spec/unit/other/selinux.rb index 3a07e0933..465fc4ea0 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 |
