Sha256: b3f21b3eba298778d2193a86822dd186004eaf86acc9b6b97e5bce00fb4ae3f1

Contents?: true

Size: 282 Bytes

Versions: 7

Compression:

Stored size: 282 Bytes

Contents

require "spec_helper"

describe CFoundry::Client do
  before do
    any_instance_of(CFoundry::V2::Client) { |cli| stub(cli).info }
  end

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cfoundry-2.2.0.rc1 spec/cfoundry/client_spec.rb
cfoundry-2.1.2.rc1 spec/cfoundry/client_spec.rb
cfoundry-2.1.1 spec/cfoundry/client_spec.rb
cfoundry-2.1.0 spec/cfoundry/client_spec.rb
cfoundry-2.0.2 spec/cfoundry/client_spec.rb
cfoundry-2.0.1.rc1 spec/cfoundry/client_spec.rb
cfoundry-2.0.0 spec/cfoundry/client_spec.rb