Sha256: 76c2ccf31b2555386ead78ed03325dfec5fed9138798e44128e85e41a65e0e6c

Contents?: true

Size: 479 Bytes

Versions: 11

Compression:

Stored size: 479 Bytes

Contents

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

describe CcApiStub::Domains do
  describe ".succeed_to_create" do
    let(:url) { "http://example.com/v2/domains/" }
    subject { CcApiStub::Domains.succeed_to_create }

    it_behaves_like "a stubbed post request"
  end

  describe ".succeed_to_delete" do
    let(:url) { "http://example.com/v2/domains/1234" }
    subject { CcApiStub::Domains.succeed_to_delete }

    it_behaves_like "a stubbed delete request"
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
static-1.0.3 vendor/cfoundry-0.5.2/spec/cc_api_stub/domains_spec.rb
static-1.0.1 vendor/cfoundry-0.5.2/spec/cc_api_stub/domains_spec.rb
cfoundry-0.5.3.rc5 spec/cc_api_stub/domains_spec.rb
cfoundry-0.5.3.rc4 spec/cc_api_stub/domains_spec.rb
cfoundry-0.5.3.rc3 spec/cc_api_stub/domains_spec.rb
cfoundry-0.5.3.rc2 spec/cc_api_stub/domains_spec.rb
cfoundry-0.5.3.rc1 spec/cc_api_stub/domains_spec.rb
cfoundry-0.5.2 spec/cc_api_stub/domains_spec.rb
cfoundry-0.5.1.rc5 spec/cc_api_stub/domains_spec.rb
cfoundry-0.5.1.rc4 spec/cc_api_stub/domains_spec.rb
cfoundry-0.5.1.rc3 spec/cc_api_stub/domains_spec.rb