diff options
author | Luke Kanies <luke@madstop.com> | 2009-02-19 12:53:07 -0600 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2009-02-19 17:51:21 -0600 |
commit | d7864bedafcca07806f6da3e3f472dc80d3206b7 (patch) | |
tree | c08bd68f6e758e00a289854d59e28c4f70e67ccc /spec/unit | |
parent | bd8d09747fd6c0dce89c17da41eb67ad92823cf7 (diff) | |
download | puppet-d7864bedafcca07806f6da3e3f472dc80d3206b7.tar.gz puppet-d7864bedafcca07806f6da3e3f472dc80d3206b7.tar.xz puppet-d7864bedafcca07806f6da3e3f472dc80d3206b7.zip |
Relying on 'should_parse_config' in the 'puppet' application
There was some redundancy here, as the app was marked
as needing to parse the config, but then the setup
hook manually parsed it.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec/unit')
-rw-r--r-- | spec/unit/application/puppet.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/unit/application/puppet.rb b/spec/unit/application/puppet.rb index df9aaa4e6..13b572d8f 100644 --- a/spec/unit/application/puppet.rb +++ b/spec/unit/application/puppet.rb @@ -54,16 +54,6 @@ describe "Puppet" do @puppet.options.stubs(:[]).with(any_parameters) end - it "should parse additionnal Puppet config if set to" do - Puppet.stubs(:[]).with(:noop) - Puppet.stubs(:[]).with(:config).returns("file.conf") - File.stubs(:exists?).with("file.conf").returns(true) - - Puppet.settings.expects(:parse).with("file.conf") - - @puppet.run_setup - end - it "should set show_diff on --noop" do Puppet.stubs(:[]=) Puppet.stubs(:[]).with(:config) |