Sha256: edcc8e5fa8cf7a1512b28f1619aa625e95ca6d3db63cc25b15dd7285553b95d4

Contents?: true

Size: 674 Bytes

Versions: 44

Compression:

Stored size: 674 Bytes

Contents

#! /usr/bin/env ruby
require 'spec_helper'

require 'puppet/util/reference'

reference = Puppet::Util::Reference.reference(:providers)

describe reference do
  it "should exist" do
    expect(reference).not_to be_nil
  end

  it "should be able to be rendered as markdown" do
    # We have a :confine block that calls execute in our upstart provider, which fails
    # on jruby. Thus, we stub it out here since we don't care to do any assertions on it.
    # This is only an issue if you're running these unit tests on a platform where upstart
    # is a default provider, like Ubuntu trusty.
    Puppet::Util::Execution.stubs(:execute)

    reference.to_markdown
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
puppet-6.4.0 spec/integration/reference/providers_spec.rb
puppet-6.4.0-x86-mingw32 spec/integration/reference/providers_spec.rb
puppet-6.4.0-x64-mingw32 spec/integration/reference/providers_spec.rb
puppet-6.4.0-universal-darwin spec/integration/reference/providers_spec.rb
puppet-6.0.7 spec/integration/reference/providers_spec.rb
puppet-6.0.7-x86-mingw32 spec/integration/reference/providers_spec.rb
puppet-6.0.7-x64-mingw32 spec/integration/reference/providers_spec.rb
puppet-6.0.7-universal-darwin spec/integration/reference/providers_spec.rb
puppet-6.3.0 spec/integration/reference/providers_spec.rb
puppet-6.3.0-x86-mingw32 spec/integration/reference/providers_spec.rb
puppet-6.3.0-x64-mingw32 spec/integration/reference/providers_spec.rb
puppet-6.3.0-universal-darwin spec/integration/reference/providers_spec.rb
puppet-6.2.0 spec/integration/reference/providers_spec.rb
puppet-6.2.0-x86-mingw32 spec/integration/reference/providers_spec.rb
puppet-6.2.0-x64-mingw32 spec/integration/reference/providers_spec.rb
puppet-6.2.0-universal-darwin spec/integration/reference/providers_spec.rb
puppet-6.0.5 spec/integration/reference/providers_spec.rb
puppet-6.0.5-x86-mingw32 spec/integration/reference/providers_spec.rb
puppet-6.0.5-x64-mingw32 spec/integration/reference/providers_spec.rb
puppet-6.0.5-universal-darwin spec/integration/reference/providers_spec.rb