spec/unit/cf_command_spec.rb in bosh-cloudfoundry-0.2.1 vs spec/unit/cf_command_spec.rb in bosh-cloudfoundry-0.3.0
- old
+ new
@@ -245,9 +245,13 @@
cp(spec_asset("deployments/aws-core-only.yml"), "aws-core-only.yml")
cp(spec_asset("deployments/aws-core-2-m1.xlarge-dea.yml"), "deas.yml")
end
@cmd.should_receive(:set_deployment).exactly(2).times
@cmd.should_receive(:sh).with("bosh -n --color deploy").exactly(2).times
+ @cmd.should_receive(:sh).with("sudo gem install vmc --no-ri --no-rdoc")
+ @cmd.should_receive(:sh).with("vmc target http://api.mycompany.com")
+ @cmd.should_receive(:sh).with(
+ "vmc register drnic@starkandwayne.com --password c1oudc0wc1oudc0w --verify c1oudc0wc1oudc0w")
@cmd.deploy
end
it "watches nats traffic within CF deployment" do
generate_new_system
\ No newline at end of file