Sha256: 15ee461f83859dcbed0efcf85132e00592f19583a49a9097f5c151e5cd852cc5
Contents?: true
Size: 540 Bytes
Versions: 204
Compression:
Stored size: 540 Bytes
Contents
require 'spec_helper' require 'puppet/application/doc' describe Puppet::Application::Doc do include PuppetSpec::Files let(:app) { Puppet::Application[:doc] } it 'lists references' do app.command_line.args = ['-l'] expect { app.run }.to exit_with(0) .and output(/configuration - A reference for all settings/).to_stdout end it 'generates markdown' do app.command_line.args = ['-r', 'report'] expect { app.run }.to exit_with(0) .and output(/# Report Reference/).to_stdout end end
Version data entries
204 entries across 204 versions & 1 rubygems