Sha256: c2e2a2c3a9d520d9c7b4b5d58ca4ea927b629b09e7d710859061b0f22f35d963

Contents?: true

Size: 337 Bytes

Versions: 23

Compression:

Stored size: 337 Bytes

Contents

require "spec_helper"

describe Brightbox::Api, ".conn" do
  before do
    config_from_contents(API_CLIENT_CONFIG_CONTENTS)
  end

  context "when account is not required", vcr: true do
    it "returns a 'real' fog compute instance" do
      expect(Brightbox::Api.conn).to be_instance_of(Fog::Compute::Brightbox::Real)
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
brightbox-cli-2.12.0 spec/unit/brightbox/api/conn_spec.rb
brightbox-cli-2.11.2 spec/unit/brightbox/api/conn_spec.rb
brightbox-cli-2.11.1 spec/unit/brightbox/api/conn_spec.rb
brightbox-cli-2.11.0 spec/unit/brightbox/api/conn_spec.rb
brightbox-cli-2.10.0 spec/unit/brightbox/api/conn_spec.rb
brightbox-cli-2.9.3 spec/unit/brightbox/api/conn_spec.rb
brightbox-cli-2.9.2 spec/unit/brightbox/api/conn_spec.rb
brightbox-cli-2.9.1 spec/unit/brightbox/api/conn_spec.rb
brightbox-cli-2.9.0 spec/unit/brightbox/api/conn_spec.rb
brightbox-cli-2.8.2 spec/unit/brightbox/api/conn_spec.rb
brightbox-cli-2.8.1 spec/unit/brightbox/api/conn_spec.rb
brightbox-cli-2.8.0 spec/unit/brightbox/api/conn_spec.rb
brightbox-cli-2.7.1 spec/unit/brightbox/api/conn_spec.rb
brightbox-cli-2.7.0 spec/unit/brightbox/api/conn_spec.rb
brightbox-cli-2.6.0 spec/unit/brightbox/api/conn_spec.rb
brightbox-cli-2.5.0 spec/unit/brightbox/api/conn_spec.rb
brightbox-cli-2.4.1 spec/unit/brightbox/api/conn_spec.rb
brightbox-cli-2.4.0 spec/unit/brightbox/api/conn_spec.rb
brightbox-cli-2.3.4 spec/unit/brightbox/api/conn_spec.rb
brightbox-cli-2.3.3 spec/unit/brightbox/api/conn_spec.rb