Sha256: 9948c54b35b3907861f6777f5fcddd69c5609ca92a35bbb0eec658e69625c5cd
Contents?: true
Size: 621 Bytes
Versions: 80
Compression:
Stored size: 621 Bytes
Contents
#! /usr/bin/env ruby require 'spec_helper' require 'puppet/file_serving/terminus_helper' class TerminusHelperIntegrationTester include Puppet::FileServing::TerminusHelper def model Puppet::FileServing::Metadata end end describe Puppet::FileServing::TerminusHelper do it "should be able to recurse on a single file" do @path = Tempfile.new("fileset_integration") request = Puppet::Indirector::Request.new(:metadata, :find, @path.path, nil, :recurse => true) tester = TerminusHelperIntegrationTester.new lambda { tester.path2instances(request, @path.path) }.should_not raise_error end end
Version data entries
80 entries across 80 versions & 1 rubygems