summaryrefslogtreecommitdiffstats
path: root/spec/integration/file_serving/fileset_spec.rb
blob: 858186794b341bc3384cb9c3324507d622f2b83b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env ruby

require '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