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

require 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