summaryrefslogtreecommitdiffstats
path: root/spec/unit/util/selinux.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/util/selinux.rb')
-rw-r--r--spec/unit/util/selinux.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/util/selinux.rb b/spec/unit/util/selinux.rb
index 515c3a273..7a56f914a 100644
--- a/spec/unit/util/selinux.rb
+++ b/spec/unit/util/selinux.rb
@@ -117,7 +117,7 @@ describe Puppet::Util::SELinux do
it "should use chcon to set a context" do
self.expects(:selinux_support?).returns true
- self.expects(:execute).with(["/usr/bin/chcon","-h","","user_u:role_r:type_t:s0","/foo"]).returns 0
+ self.expects(:execute).with(["/usr/bin/chcon","-h","user_u:role_r:type_t:s0","/foo"]).returns 0
set_selinux_context("/foo", "user_u:role_r:type_t:s0").should be_true
end