Sha256: 771120b78026648c217af9613ad4ddda8d36f19a4a161f31e0d76d00697c85b6

Contents?: true

Size: 617 Bytes

Versions: 278

Compression:

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

Version data entries

278 entries across 278 versions & 1 rubygems

Version Path
puppet-6.4.0 spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.4.0-x86-mingw32 spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.4.0-x64-mingw32 spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.4.0-universal-darwin spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.0.7 spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.0.7-x86-mingw32 spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.0.7-x64-mingw32 spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.0.7-universal-darwin spec/integration/file_serving/terminus_helper_spec.rb
puppet-5.5.12 spec/integration/file_serving/terminus_helper_spec.rb
puppet-5.5.12-x86-mingw32 spec/integration/file_serving/terminus_helper_spec.rb
puppet-5.5.12-x64-mingw32 spec/integration/file_serving/terminus_helper_spec.rb
puppet-5.5.12-universal-darwin spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.3.0 spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.3.0-x86-mingw32 spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.3.0-x64-mingw32 spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.3.0-universal-darwin spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.2.0 spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.2.0-x86-mingw32 spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.2.0-x64-mingw32 spec/integration/file_serving/terminus_helper_spec.rb
puppet-6.2.0-universal-darwin spec/integration/file_serving/terminus_helper_spec.rb