summaryrefslogtreecommitdiffstats
path: root/spec/unit/application/puppetmasterd.rb
diff options
context:
space:
mode:
authorBrice Figureau <brice-puppet@daysofwonder.com>2009-02-14 14:40:25 +0100
committerBrice Figureau <brice-puppet@daysofwonder.com>2009-02-16 20:12:11 +0100
commit0f43fd6c894dd2be7f08209f28caf34be768f238 (patch)
tree33f55bdd8441992dd46189e08634d21857b72d66 /spec/unit/application/puppetmasterd.rb
parent156fb81ca914f6d697dc2cb81788a1d9ab5a23e4 (diff)
downloadpuppet-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.rb6
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")