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.1.0 spec/integration/reference/providers_spec.rb
puppet-6.1.0-x86-mingw32 spec/integration/reference/providers_spec.rb
puppet-6.1.0-x64-mingw32 spec/integration/reference/providers_spec.rb
puppet-6.1.0-universal-darwin spec/integration/reference/providers_spec.rb
puppet-6.0.4 spec/integration/reference/providers_spec.rb
puppet-6.0.4-x86-mingw32 spec/integration/reference/providers_spec.rb
puppet-6.0.4-x64-mingw32 spec/integration/reference/providers_spec.rb
puppet-6.0.4-universal-darwin spec/integration/reference/providers_spec.rb
puppet-6.0.3 spec/integration/reference/providers_spec.rb
puppet-6.0.3-x86-mingw32 spec/integration/reference/providers_spec.rb
puppet-6.0.3-x64-mingw32 spec/integration/reference/providers_spec.rb
puppet-6.0.3-universal-darwin spec/integration/reference/providers_spec.rb
puppet-6.0.2 spec/integration/reference/providers_spec.rb
puppet-6.0.2-x86-mingw32 spec/integration/reference/providers_spec.rb
puppet-6.0.2-x64-mingw32 spec/integration/reference/providers_spec.rb
puppet-6.0.2-universal-darwin spec/integration/reference/providers_spec.rb
puppet-6.0.1 spec/integration/reference/providers_spec.rb
puppet-6.0.1-x86-mingw32 spec/integration/reference/providers_spec.rb
puppet-6.0.1-x64-mingw32 spec/integration/reference/providers_spec.rb
puppet-6.0.1-universal-darwin spec/integration/reference/providers_spec.rb