diff options
-rw-r--r-- | Rakefile | 2 | ||||
-rw-r--r-- | chef/spec/unit/application_spec.rb | 6 |
2 files changed, 8 insertions, 0 deletions
@@ -30,6 +30,8 @@ task :spec do end end +task :default => :spec + def start_dev_environment(type="normal") @couchdb_server_pid = nil @chef_server_pid = nil diff --git a/chef/spec/unit/application_spec.rb b/chef/spec/unit/application_spec.rb index 30d9163157..b0408e8c75 100644 --- a/chef/spec/unit/application_spec.rb +++ b/chef/spec/unit/application_spec.rb @@ -31,6 +31,9 @@ end describe Chef::Application, "reconfigure" do before do @app = Chef::Application.new + @app.stub!(:configure_opt_parser).and_return(true) + @app.stub!(:configure_chef).and_return(true) + @app.stub!(:configure_logging).and_return(true) end it "should configure the options parser" do @@ -59,6 +62,9 @@ describe Chef::Application do before do @app.stub!(:setup_application).and_return(true) @app.stub!(:run_application).and_return(true) + @app.stub!(:configure_opt_parser).and_return(true) + @app.stub!(:configure_chef).and_return(true) + @app.stub!(:configure_logging).and_return(true) end it "should reconfigure the application before running" do |