summaryrefslogtreecommitdiffstats
path: root/spec/integration/file_serving/fileset_spec.rb
blob: f4b8698471bdd2886d09a5fc82cc3c9b460af48d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env rspec
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