diff options
| author | Matt Robinson <matt@puppetlabs.com> | 2011-03-18 14:56:54 -0700 |
|---|---|---|
| committer | Matt Robinson <matt@puppetlabs.com> | 2011-03-18 14:56:54 -0700 |
| commit | 335ce03ecc1fb9be2a2c5f59aaa7032a2d492c29 (patch) | |
| tree | 5b4f8935857a2172131cf6e3a4d062220af5a0c7 | |
| parent | 7e71840e29cb09c772668a51ada3cab1e319e50f (diff) | |
| parent | cf873c63f8aad942776d27900dc35470d2508ae8 (diff) | |
| download | puppet-335ce03ecc1fb9be2a2c5f59aaa7032a2d492c29.tar.gz puppet-335ce03ecc1fb9be2a2c5f59aaa7032a2d492c29.tar.xz puppet-335ce03ecc1fb9be2a2c5f59aaa7032a2d492c29.zip | |
Merge branch 'ticket/next/maint-silence_false_test_output' into next
* ticket/next/maint-silence_false_test_output:
maint: Silence test output in the spec run
| -rwxr-xr-x | spec/unit/application/agent_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/unit/application/agent_spec.rb b/spec/unit/application/agent_spec.rb index cc745d1fc..804057868 100755 --- a/spec/unit/application/agent_spec.rb +++ b/spec/unit/application/agent_spec.rb @@ -268,8 +268,9 @@ describe Puppet::Application::Agent do end it "should exit after printing puppet config if asked to in Puppet config" do - Puppet[:configprint] = "pluginsync" - + Puppet[:modulepath] = '/my/path' + Puppet[:configprint] = "modulepath" + Puppet::Util::Settings.any_instance.expects(:puts).with('/my/path') lambda { @puppetd.setup }.should raise_error(SystemExit) end |
