diff options
-rw-r--r-- | spec/unit/util/virtual.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/util/virtual.rb b/spec/unit/util/virtual.rb index 5b59cf9..1e31a2f 100644 --- a/spec/unit/util/virtual.rb +++ b/spec/unit/util/virtual.rb @@ -8,7 +8,7 @@ describe Facter::Util::Virtual do Facter.clear end it "should detect openvz" do - FileTest.stubs(:exists?).with("/proc/vz/veinfo").returns(true) + FileTest.stubs(:directory?).with("/proc/vz").returns(true) Facter::Util::Virtual.should be_openvz end |