summaryrefslogtreecommitdiff
path: root/spec/unit/application
diff options
context:
space:
mode:
authorJohn Keiser <jkeiser@opscode.com>2013-12-05 14:22:19 -0800
committerJohn Keiser <jkeiser@opscode.com>2013-12-06 13:50:10 -0800
commit5e87b84187e8d341fc83bdc90f5a1ce25c871610 (patch)
tree4d79c77f2b8131db9b3b971b8522e5d4d09b07cb /spec/unit/application
parentd85df00ffbedfa440ea529d96a8dc9245fbe44ed (diff)
downloadchef-5e87b84187e8d341fc83bdc90f5a1ce25c871610.tar.gz
Add ability to run recipes directly from chef-client command line
Diffstat (limited to 'spec/unit/application')
-rw-r--r--spec/unit/application/client_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/application/client_spec.rb b/spec/unit/application/client_spec.rb
index c4387890cd..219a894cc6 100644
--- a/spec/unit/application/client_spec.rb
+++ b/spec/unit/application/client_spec.rb
@@ -26,6 +26,7 @@ describe Chef::Application::Client, "reconfigure" do
@app.stub!(:configure_opt_parser).and_return(true)
@app.stub!(:configure_chef).and_return(true)
@app.stub!(:configure_logging).and_return(true)
+ @app.cli_arguments = []
Chef::Config[:interval] = 10
Chef::Config[:once] = false