Sha256: 0b99335112d0a6dddd64c5c3af0fd65c36fc32ffc2720c36979232d3cdf6f36d
Contents?: true
Size: 409 Bytes
Versions: 136
Compression:
Stored size: 409 Bytes
Contents
require 'spec_helper' require 'puppet_spec/files' require 'puppet/application/doc' describe Puppet::Application::Doc do include PuppetSpec::Files it "should respect the -o option" do puppetdoc = Puppet::Application[:doc] allow(puppetdoc.command_line).to receive(:args).and_return(['foo', '-o', 'bar']) puppetdoc.parse_options expect(puppetdoc.options[:outputdir]).to eq('bar') end end
Version data entries
136 entries across 136 versions & 1 rubygems