Sha256: dab774dbf808528ec9b4b1fc424f9161fa7d2ecd486fd355112b26b41c0cd073
Contents?: true
Size: 581 Bytes
Versions: 8
Compression:
Stored size: 581 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 subject { Bosh::Bootstrap::Cli::Commands::Delete.new } it "deletes microbosh VM" do setting "bosh.name", "test-bosh" mkdir_p(File.join(settings_dir, "deployments")) expect(subject).to receive(:sh).with("bosh", "-n", "micro", "deployment", "test-bosh") expect(subject).to receive(:sh).with("bosh", "-n", "micro", "delete") subject.perform end end
Version data entries
8 entries across 8 versions & 1 rubygems