diff options
author | James Turnbull <james@lovedthanlost.net> | 2008-05-20 19:06:45 +1000 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2008-05-20 19:06:45 +1000 |
commit | 84a787a2a764a5035f7cbb8d30f94fc601bed154 (patch) | |
tree | ec46287a86ce738fec5774347ea4f9afcf804953 /spec/unit/provider/interface/redhat.rb | |
parent | 390db8061ae81174ee9d42e26a6ebfe7182ea529 (diff) | |
parent | ee4be4f78f7c904dbe5873ff7b44993d1440da41 (diff) | |
download | puppet-84a787a2a764a5035f7cbb8d30f94fc601bed154.tar.gz puppet-84a787a2a764a5035f7cbb8d30f94fc601bed154.tar.xz puppet-84a787a2a764a5035f7cbb8d30f94fc601bed154.zip |
Merge branch '0.24.x' of git://github.com/lak/puppet into 0.24.x
Conflicts:
CHANGELOG
Diffstat (limited to 'spec/unit/provider/interface/redhat.rb')
-rwxr-xr-x | spec/unit/provider/interface/redhat.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/provider/interface/redhat.rb b/spec/unit/provider/interface/redhat.rb index 5a7a8dfcd..99ac50f01 100755 --- a/spec/unit/provider/interface/redhat.rb +++ b/spec/unit/provider/interface/redhat.rb @@ -9,12 +9,12 @@ provider_class = Puppet::Type.type(:interface).provider(:redhat) describe provider_class do it "should not be functional on systems without a network-scripts directory" do - FileTest.expects(:exists?).with("/etc/sysconfig/network-scripts").returns(false) + FileTest.expects(:exist?).with("/etc/sysconfig/network-scripts").returns(false) provider_class.should_not be_suitable end it "should be functional on systems with a network-scripts directory" do - FileTest.expects(:exists?).with("/etc/sysconfig/network-scripts").returns(true) + FileTest.expects(:exist?).with("/etc/sysconfig/network-scripts").returns(true) provider_class.should be_suitable end end |