spec/cf/cli/app/start_spec.rb in cf-0.6.1.rc3 vs spec/cf/cli/app/start_spec.rb in cf-0.6.1.rc4
- old
+ new
@@ -1,8 +1,12 @@
require "spec_helper"
require "webmock/rspec"
-command CF::App::Start do
+describe CF::App::Start do
+ before do
+ stub_client_and_precondition
+ end
+
let(:client) { fake_client :apps => [app] }
let(:app) { fake :app }
subject { cf %W[start #{app.name}] }