Sha256: 9d6909e68b7c6328f16b7e9a201b93753f1b66ec85027365a1407c16b45e5a22

Contents?: true

Size: 464 Bytes

Versions: 124

Compression:

Stored size: 464 Bytes

Contents

require 'spec_helper'
require 'net/http'
require 'uri'

describe CcApiStub::Routes do
  let(:url) { "http://example.com/v2/routes/" }

  describe ".succeed_to_load_none" do
    subject { CcApiStub::Routes.succeed_to_load_none }

    it_behaves_like "a stubbed get request", :including_json => { "resources" => [] }
  end

  describe ".succeed_to_create" do
    subject { CcApiStub::Routes.succeed_to_create }

    it_behaves_like "a stubbed post request"
  end
end

Version data entries

124 entries across 124 versions & 4 rubygems

Version Path
new_cfoundry-4.9.4 spec/cc_api_stub/routes_spec.rb
new_cfoundry-4.9.3 spec/cc_api_stub/routes_spec.rb
ncfoundry-4.9.4 spec/cc_api_stub/routes_spec.rb
ncfoundry-4.9.3 spec/cc_api_stub/routes_spec.rb
ncfoundry-4.9.2 spec/cc_api_stub/routes_spec.rb
new_cfoundry-4.9.2 spec/cc_api_stub/routes_spec.rb
new_cfoundry-4.9.1 spec/cc_api_stub/routes_spec.rb
new_cfoundry-4.9.0 spec/cc_api_stub/routes_spec.rb
new_cfoundry-4.8.3 spec/cc_api_stub/routes_spec.rb
new_cfoundry-4.8.2 spec/cc_api_stub/routes_spec.rb
cfoundry-4.7.2.rc1 spec/cc_api_stub/routes_spec.rb
cfoundry-4.7.1 spec/cc_api_stub/routes_spec.rb
cfoundry-4.7.1.rc1 spec/cc_api_stub/routes_spec.rb
cfoundry-4.7.0 spec/cc_api_stub/routes_spec.rb
cfoundry-4.6.3.rc3 spec/cc_api_stub/routes_spec.rb
cfoundry-4.6.3.rc2 spec/cc_api_stub/routes_spec.rb
cfoundry-4.6.3.rc1 spec/cc_api_stub/routes_spec.rb
cfoundry-4.6.2 spec/cc_api_stub/routes_spec.rb
cfoundry-4.6.1 spec/cc_api_stub/routes_spec.rb
cfoundry-4.6.0 spec/cc_api_stub/routes_spec.rb