spec/integration/node_spec.rb in puppet-3.3.2 vs spec/integration/node_spec.rb in puppet-3.4.0.rc1

- old
+ new

@@ -19,10 +19,10 @@ # Load now, before we stub the exists? method. terminus = Puppet::Node.indirection.terminus(:yaml) terminus.expects(:path).with(@name).returns "/my/yaml/file" - FileTest.expects(:exist?).with("/my/yaml/file").returns false + Puppet::FileSystem::File.expects(:exist?).with("/my/yaml/file").returns false Puppet::Node.indirection.find(@name).should be_nil end it "should have an ldap terminus" do Puppet::Node.indirection.terminus(:ldap).should_not be_nil