blob: f607aa2037d7b44faacb40eb01c617a3cfbfff5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/usr/bin/env ruby
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
require 'puppet/file_serving/fileset'
describe Puppet::FileServing::Fileset do
it "should be able to recurse on a single file" do
@path = Tempfile.new("fileset_integration")
fileset = Puppet::FileServing::Fileset.new(@path.path)
lambda { fileset.files }.should_not raise_error
end
end
|