Sha256: 6ba84297668127242174891caa6270df9f9295e5c97f8e501388d1ea18a76991

Contents?: true

Size: 265 Bytes

Versions: 38

Compression:

Stored size: 265 Bytes

Contents

require "spec_helper"

describe CFoundry::Client do
  before do
    CFoundry::V2::Client.any_instance.stub(:info)
  end

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

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

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
cfoundry-4.3.6 spec/cfoundry/client_spec.rb
cfoundry-4.3.5 spec/cfoundry/client_spec.rb
cfoundry-4.3.5.rc1 spec/cfoundry/client_spec.rb
cfoundry-4.3.4 spec/cfoundry/client_spec.rb
cfoundry-4.3.4.rc1 spec/cfoundry/client_spec.rb
cfoundry-4.3.3 spec/cfoundry/client_spec.rb
cfoundry-4.3.2.rc1 spec/cfoundry/client_spec.rb
cfoundry-4.3.1 spec/cfoundry/client_spec.rb
cfoundry-4.3.0 spec/cfoundry/client_spec.rb
cfoundry-4.2.0.rc spec/cfoundry/client_spec.rb
cfoundry-4.1.0 spec/cfoundry/client_spec.rb
cfoundry-4.0.4.rc2 spec/cfoundry/client_spec.rb
cfoundry-3.0.1 spec/cfoundry/client_spec.rb
cfoundry-3.0.0 spec/cfoundry/client_spec.rb
cfoundry-2.4.1.rc1 spec/cfoundry/client_spec.rb
cfoundry-2.4.0 spec/cfoundry/client_spec.rb
cfoundry-2.3.7.rc1 spec/cfoundry/client_spec.rb
cfoundry-2.3.6 spec/cfoundry/client_spec.rb