Sha256: e36633884e668c29b39c3440f3df7c43b3142c33755dc2e587ae4c5b4b5c8203

Contents?: true

Size: 428 Bytes

Versions: 7

Compression:

Stored size: 428 Bytes

Contents

require "spec_helper"

describe Brightbox::CollaboratingAccount do
  subject(:account) do
    data = {
      "id" => "acc-12345"
    }
    account_model = Fog::Compute::Brightbox::Account.new(data)
    Brightbox::CollaboratingAccount.new(account_model)
  end

  it_behaves_like "a wrapped API resource"

  it { should respond_to(:ram_free) }
  it { should respond_to(:cloud_ip_limit) }
  it { should respond_to(:lb_limit) }
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
brightbox-cli-1.2.2 spec/unit/brightbox/collaborating_account_spec.rb
brightbox-cli-1.2.1 spec/unit/brightbox/collaborating_account_spec.rb
brightbox-cli-1.2.0 spec/unit/brightbox/collaborating_account_spec.rb
brightbox-cli-1.1.0 spec/unit/brightbox/collaborating_account_spec.rb
brightbox-cli-1.0.0 spec/unit/brightbox/collaborating_account_spec.rb
brightbox-cli-1.0.0.rc2 spec/unit/brightbox/collaborating_account_spec.rb
brightbox-cli-1.0.0.rc1 spec/unit/brightbox/collaborating_account_spec.rb