diff options
author | James Turnbull <james@lovedthanlost.net> | 2008-10-08 13:57:54 +1100 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2008-10-08 14:01:24 +1100 |
commit | 307260f5493b54c4d9435dd8e71b30d5c08edb05 (patch) | |
tree | 336f50959a83d38e8e68c44da40cc5e6d407079c /spec/unit/other | |
parent | 2ebd34ecca413393b2619f8400d2046fa2ca6d9b (diff) | |
download | puppet-307260f5493b54c4d9435dd8e71b30d5c08edb05.tar.gz puppet-307260f5493b54c4d9435dd8e71b30d5c08edb05.tar.xz puppet-307260f5493b54c4d9435dd8e71b30d5c08edb05.zip |
Remove old selboolean unit tests and fix permissions on new tests
Diffstat (limited to 'spec/unit/other')
-rw-r--r-- | spec/unit/other/selinux.rb | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/spec/unit/other/selinux.rb b/spec/unit/other/selinux.rb index e4bdf390b..6f8fcb051 100644 --- a/spec/unit/other/selinux.rb +++ b/spec/unit/other/selinux.rb @@ -2,38 +2,8 @@ require File.dirname(__FILE__) + '/../../spec_helper' -require 'puppet/type/selboolean' require 'puppet/type/selmodule' -describe Puppet.type(:selboolean), " when manipulating booleans" do - before :each do - @bool = Puppet::Type::Selboolean.create( - :name => "foo", - :value => "on", - :persistent => true ) - end - it "should be able to access :name" do - @bool[:name].should == "foo" - end - it "should be able to access :value" do - @bool.property(:value).should == :on - end - it "should set :value to off" do - @bool[:value] = :off - @bool.property(:value).should == :off - end - it "should be able to access :persistent" do - @bool[:persistent].should == :true - end - it "should set :persistent to false" 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 before :each do @module = Puppet::Type::Selmodule.create( |