summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/unit/type/file/selinux.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/type/file/selinux.rb b/spec/unit/type/file/selinux.rb
index 5e2c3539c..6da88db3d 100644
--- a/spec/unit/type/file/selinux.rb
+++ b/spec/unit/type/file/selinux.rb
@@ -56,6 +56,7 @@ property = Puppet::Type.type(:file).attrclass(param)
end
it "should be able to detect matchpathcon defaults" do
+ @sel.stubs(:debug)
@sel.expects(:get_selinux_default_context).with("/my/file").returns "user_u:role_r:type_t:s0"
expectedresult = case param
when :seluser then "user_u"