Sha256: 896f33cb1f62d0742d9274a66838aa5ba2f8bcb704bb3370c685ea572eebfa7e

Contents?: true

Size: 446 Bytes

Versions: 3

Compression:

Stored size: 446 Bytes

Contents

require "spec_helper"

describe Brightbox::Server do
  include ServerHelpers

  describe "#stop", :vcr, :broken_1_8 do
    it "should work" do
      type = Brightbox::Type.find_by_handle "nano"
      options = server_params("rspec_server_stop",type)
      server = (Brightbox::Server.create_servers 1, options).first

      server.fog_model.wait_for { ready? }

      lambda {
        server.stop
      }.should_not raise_error
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
brightbox-cli-1.1.0 spec/unit/brightbox/server/stop_spec.rb
brightbox-cli-1.0.0 spec/unit/brightbox/server/stop_spec.rb
brightbox-cli-1.0.0.rc2 spec/unit/brightbox/server/stop_spec.rb