Sha256: 5d1ee21f45163fefd8e0ba4982deef6e083cd2206abe5eee5d29d6b2c2fbf7c1

Contents?: true

Size: 596 Bytes

Versions: 136

Compression:

Stored size: 596 Bytes

Contents

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
    expect { tester.path2instances(request, @path.path) }.not_to raise_error
  end
end

Version data entries

136 entries across 136 versions & 1 rubygems

Version Path
puppet-5.5.22 spec/integration/file_serving/terminus_helper_spec.rb
puppet-5.5.22-x86-mingw32 spec/integration/file_serving/terminus_helper_spec.rb
puppet-5.5.22-x64-mingw32 spec/integration/file_serving/terminus_helper_spec.rb
puppet-5.5.22-universal-darwin spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.17.0 spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.17.0-x86-mingw32 spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.17.0-x64-mingw32 spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.17.0-universal-darwin spec/integration/file_serving/terminus_helper_spec.rb
puppet-5.5.21 spec/integration/file_serving/terminus_helper_spec.rb
puppet-5.5.21-x86-mingw32 spec/integration/file_serving/terminus_helper_spec.rb
puppet-5.5.21-x64-mingw32 spec/integration/file_serving/terminus_helper_spec.rb
puppet-5.5.21-universal-darwin spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.16.0 spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.16.0-x86-mingw32 spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.16.0-x64-mingw32 spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.16.0-universal-darwin spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.15.0 spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.15.0-x86-mingw32 spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.15.0-x64-mingw32 spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.15.0-universal-darwin spec/integration/file_serving/terminus_helper_spec.rb