Sha256: 2ae415385643648bc5dd9abc8126d08110db1e46899a1bb443a77f4864d6afe6

Contents?: true

Size: 285 Bytes

Versions: 10

Compression:

Stored size: 285 Bytes

Contents

require "spec_helper"

describe CFoundry::Client do
  before do
    allow_any_instance_of(CFoundry::V2::Client).to receive(:info)
  end

  subject { CFoundry::Client.get('http://example.com') }

  it "returns a v2 client" do
    expect(subject).to be_a(CFoundry::V2::Client)
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
new_cfoundry-4.9.4 spec/cfoundry/client_spec.rb
new_cfoundry-4.9.3 spec/cfoundry/client_spec.rb
ncfoundry-4.9.4 spec/cfoundry/client_spec.rb
ncfoundry-4.9.3 spec/cfoundry/client_spec.rb
ncfoundry-4.9.2 spec/cfoundry/client_spec.rb
new_cfoundry-4.9.2 spec/cfoundry/client_spec.rb
new_cfoundry-4.9.1 spec/cfoundry/client_spec.rb
new_cfoundry-4.9.0 spec/cfoundry/client_spec.rb
new_cfoundry-4.8.3 spec/cfoundry/client_spec.rb
new_cfoundry-4.8.2 spec/cfoundry/client_spec.rb