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