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