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
cfoundry-4.1.0 spec/cc_api_stub/routes_spec.rb
cfoundry-4.0.4.rc2 spec/cc_api_stub/routes_spec.rb
cfoundry-4.0.4.rc1 spec/cc_api_stub/routes_spec.rb
cfoundry-4.0.3 spec/cc_api_stub/routes_spec.rb
cfoundry-4.0.2.rc5 spec/cc_api_stub/routes_spec.rb
cfoundry-4.0.2.rc4 spec/cc_api_stub/routes_spec.rb
cfoundry-4.0.2.rc3 spec/cc_api_stub/routes_spec.rb
cfoundry-4.0.2.rc2 spec/cc_api_stub/routes_spec.rb
cfoundry-4.0.2.rc1 spec/cc_api_stub/routes_spec.rb
cfoundry-4.0.1 spec/cc_api_stub/routes_spec.rb
cfoundry-4.0.0 spec/cc_api_stub/routes_spec.rb
cfoundry-3.0.1 spec/cc_api_stub/routes_spec.rb
cfoundry-3.0.0 spec/cc_api_stub/routes_spec.rb
cfoundry-2.4.1.rc1 spec/cc_api_stub/routes_spec.rb
cfoundry-2.4.0 spec/cc_api_stub/routes_spec.rb
cfoundry-2.3.7.rc1 spec/cc_api_stub/routes_spec.rb
cfoundry-2.3.6 spec/cc_api_stub/routes_spec.rb
cfoundry-2.3.6.rc2 spec/cc_api_stub/routes_spec.rb
cfoundry-2.3.6.rc1 spec/cc_api_stub/routes_spec.rb
cfoundry-2.3.5 spec/cc_api_stub/routes_spec.rb