summaryrefslogtreecommitdiffstats
path: root/spec/unit/application
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2010-07-02 13:19:12 -0700
committerMarkus Roberts <Markus@reality.com>2010-07-02 14:40:16 -0700
commit74e5bdce3b67a124616977c2e2c78c9506792c8f (patch)
treeda74027063593566382f01ef86d5ffbaa39826c0 /spec/unit/application
parent4f06e9e6b8166838d7e0e9aa0862c09ffe46729c (diff)
[#3172] Fix the arguments to Application::Kick.new, which I had broken
Diffstat (limited to 'spec/unit/application')
-rwxr-xr-xspec/unit/application/kick_spec.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/unit/application/kick_spec.rb b/spec/unit/application/kick_spec.rb
index 40bc097d3..0a530b4b8 100755
--- a/spec/unit/application/kick_spec.rb
+++ b/spec/unit/application/kick_spec.rb
@@ -16,6 +16,13 @@ describe Puppet::Application::Kick do
Puppet::Util::Log.stubs(:level=)
end
+ describe ".new" do
+ it "should take a command-line object as an argument" do
+ command_line = stub_everything "command_line"
+ lambda{ Puppet::Application::Kick.new( command_line ) }.should_not raise_error
+ end
+ end
+
it "should ask Puppet::Application to not parse Puppet configuration file" do
@kick.should_parse_config?.should be_false
end