Sha256: f879288f110ef4959631f3b3e8fc85c3c8dd5cbde1b42c1a47d23ca4d34dea43
Contents?: true
Size: 634 Bytes
Versions: 19
Compression:
Stored size: 634 Bytes
Contents
# Copyright (c) 2012-2013 Stark & Wayne, LLC require "bosh-bootstrap/cli/commands/delete" describe Bosh::Bootstrap::Cli::Commands::Delete do include StdoutCapture include Bosh::Bootstrap::Cli::Helpers let(:settings_dir) { File.expand_path("~/.microbosh") } subject { Bosh::Bootstrap::Cli::Commands::Delete.new } it "deletes microbosh VM" do setting "bosh.name", "test-bosh" mkdir_p(File.join(settings_dir, "deployments")) subject.should_receive(:sh).with("bundle exec bosh -n micro deployment test-bosh") subject.should_receive(:sh).with("bundle exec bosh -n micro delete") subject.perform end end
Version data entries
19 entries across 19 versions & 1 rubygems