blob: c2b1e17c53d3b27bec82aa75631063ac1c9e4260 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/usr/bin/env ruby
Dir.chdir(File.dirname(__FILE__)) { (s = lambda { |f| File.exist?(f) ? require(f) : Dir.chdir("..") { s.call(f) } }).call("spec/spec_helper.rb") }
require 'puppet/util/reference'
reference = Puppet::Util::Reference.reference(:providers)
describe reference do
it "should exist" do
reference.should_not be_nil
end
it "should be able to be rendered as markdown" do
lambda { reference.to_markdown }.should_not raise_error
end
end
|