Sha256: f14ca1f2dc7e17ae677976317f7842c5f1d5b5e3e9c233fc94d880450beca8f1
Contents?: true
Size: 505 Bytes
Versions: 1
Compression:
Stored size: 505 Bytes
Contents
require "spec_helper" describe Brightbox::Server do include ServerHelpers describe "#start", vcr: true do it "should work" do type = Brightbox::Type.find_by_handle "nano" options = server_params("rspec_server_start", type) server = (Brightbox::Server.create_servers 1, options).first server.fog_model.wait_for { ready? } expect { server.stop server.fog_model.wait_for { !ready? } server.start }.not_to raise_error end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
brightbox-cli-2.2.0 | spec/unit/brightbox/server/start_spec.rb |