diff options
author | Brice Figureau <brice-puppet@daysofwonder.com> | 2009-02-14 14:40:25 +0100 |
---|---|---|
committer | Brice Figureau <brice-puppet@daysofwonder.com> | 2009-02-16 20:12:11 +0100 |
commit | 0f43fd6c894dd2be7f08209f28caf34be768f238 (patch) | |
tree | 33f55bdd8441992dd46189e08634d21857b72d66 /spec/unit/application/puppetmasterd.rb | |
parent | 156fb81ca914f6d697dc2cb81788a1d9ab5a23e4 (diff) | |
download | puppet-0f43fd6c894dd2be7f08209f28caf34be768f238.tar.gz puppet-0f43fd6c894dd2be7f08209f28caf34be768f238.tar.xz puppet-0f43fd6c894dd2be7f08209f28caf34be768f238.zip |
Move --version handling to Puppet::Application
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'spec/unit/application/puppetmasterd.rb')
-rw-r--r-- | spec/unit/application/puppetmasterd.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/unit/application/puppetmasterd.rb b/spec/unit/application/puppetmasterd.rb index 773563ac6..606617d9e 100644 --- a/spec/unit/application/puppetmasterd.rb +++ b/spec/unit/application/puppetmasterd.rb @@ -66,12 +66,6 @@ describe "PuppetMaster" do end describe "when applying options" do - it "should exit after printing the version" do - @puppetmasterd.stubs(:puts) - - lambda { @puppetmasterd.handle_version(nil) }.should raise_error(SystemExit) - end - it "should set the log destination with --logdest" do Puppet::Log.expects(:newdestination).with("console") |