diff options
author | Nick Lewis <nick@puppetlabs.com> | 2010-12-16 11:34:09 -0800 |
---|---|---|
committer | Nick Lewis <nick@puppetlabs.com> | 2010-12-16 11:34:09 -0800 |
commit | a2ff092d8302e09aa79f9bb16636f8298316c3c7 (patch) | |
tree | cb67d36e37e252edceef1cd848cc32d679f5d20e /spec/unit/file_serving/fileset_spec.rb | |
parent | 4b35402ba85d8842d757becec5c8a7bf4d6f6654 (diff) | |
parent | 480c399f183627f5f588e9dc9f5f86f683c0e468 (diff) | |
download | puppet-a2ff092d8302e09aa79f9bb16636f8298316c3c7.tar.gz puppet-a2ff092d8302e09aa79f9bb16636f8298316c3c7.tar.xz puppet-a2ff092d8302e09aa79f9bb16636f8298316c3c7.zip |
Merge branch 'next'
Diffstat (limited to 'spec/unit/file_serving/fileset_spec.rb')
-rwxr-xr-x | spec/unit/file_serving/fileset_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/unit/file_serving/fileset_spec.rb b/spec/unit/file_serving/fileset_spec.rb index 9a90cff15..1ef9cdc50 100755 --- a/spec/unit/file_serving/fileset_spec.rb +++ b/spec/unit/file_serving/fileset_spec.rb @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require File.dirname(__FILE__) + '/../../spec_helper' +require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') require 'puppet/file_serving/fileset' @@ -306,6 +306,7 @@ end describe Puppet::FileServing::Fileset, "when merging other filesets" do before do @paths = %w{/first/path /second/path /third/path} + File.stubs(:lstat).returns stub("stat", :directory? => false) @filesets = @paths.collect do |path| File.stubs(:lstat).with(path).returns stub("stat", :directory? => true) |