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.5.3 spec/cc_api_stub/routes_spec.rb
cfoundry-4.5.2 spec/cc_api_stub/routes_spec.rb
cfoundry-4.5.1 spec/cc_api_stub/routes_spec.rb
cfoundry-4.5.0 spec/cc_api_stub/routes_spec.rb
cfoundry-4.3.12 spec/cc_api_stub/routes_spec.rb
cfoundry-4.3.11 spec/cc_api_stub/routes_spec.rb
cfoundry-4.3.10 spec/cc_api_stub/routes_spec.rb
cfoundry-4.3.9 spec/cc_api_stub/routes_spec.rb
cfoundry-4.3.8 spec/cc_api_stub/routes_spec.rb
cfoundry-4.3.7 spec/cc_api_stub/routes_spec.rb
cfoundry-4.3.6 spec/cc_api_stub/routes_spec.rb
cfoundry-4.3.5 spec/cc_api_stub/routes_spec.rb
cfoundry-4.3.5.rc1 spec/cc_api_stub/routes_spec.rb
cfoundry-4.3.4 spec/cc_api_stub/routes_spec.rb
cfoundry-4.3.4.rc1 spec/cc_api_stub/routes_spec.rb
cfoundry-4.3.3 spec/cc_api_stub/routes_spec.rb
cfoundry-4.3.2.rc1 spec/cc_api_stub/routes_spec.rb
cfoundry-4.3.1 spec/cc_api_stub/routes_spec.rb
cfoundry-4.3.0 spec/cc_api_stub/routes_spec.rb
cfoundry-4.2.0.rc spec/cc_api_stub/routes_spec.rb