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-1.2.0 spec/cc_api_stub/routes_spec.rb
cfoundry-1.1.0.rc4 spec/cc_api_stub/routes_spec.rb
cfoundry-1.1.0.rc3 spec/cc_api_stub/routes_spec.rb
cfoundry-1.1.0.rc2 spec/cc_api_stub/routes_spec.rb
cfoundry-1.1.0.rc1 spec/cc_api_stub/routes_spec.rb
static-1.0.3 vendor/cfoundry-0.5.2/spec/cc_api_stub/routes_spec.rb
cfoundry-1.0.0 spec/cc_api_stub/routes_spec.rb
cfoundry-0.7.0.rc15 spec/cc_api_stub/routes_spec.rb
cfoundry-0.7.0.rc14 spec/cc_api_stub/routes_spec.rb
cfoundry-0.7.0.rc13 spec/cc_api_stub/routes_spec.rb
cfoundry-0.7.0.rc12 spec/cc_api_stub/routes_spec.rb
cfoundry-0.7.0.rc11 spec/cc_api_stub/routes_spec.rb
cfoundry-0.7.0.rc10 spec/cc_api_stub/routes_spec.rb
cfoundry-0.7.0.rc9 spec/cc_api_stub/routes_spec.rb
cfoundry-0.7.0.rc8 spec/cc_api_stub/routes_spec.rb
cfoundry-0.7.0.rc6 spec/cc_api_stub/routes_spec.rb
cfoundry-0.7.0.rc5 spec/cc_api_stub/routes_spec.rb
cfoundry-0.7.0.rc4 spec/cc_api_stub/routes_spec.rb
cfoundry-0.7.0.rc3 spec/cc_api_stub/routes_spec.rb
cfoundry-0.7.0.rc2 spec/cc_api_stub/routes_spec.rb