Sha256: 29c21e8a9a0c8d3a07fc9e9086681e7d734179393b089983c5a979c2065639bd
Contents?: true
Size: 579 Bytes
Versions: 4
Compression:
Stored size: 579 Bytes
Contents
module CcApiStub module Domains extend Helper class << self def succeed_to_create response_body = Helper.load_fixtures("fake_cc_created_domain") stub_post(%r{/v2/domains/?(\?.+)?$}, {}, response(201, response_body)) end def succeed_to_delete stub_delete(%r{/v2/domains/[^/\?]+$}, {}, response(200)) end def succeed_to_load_spaces response_body = Helper.load_fixtures("fake_cc_domain_spaces") stub_get(%r{/v2/domains/[^/]+/spaces.*$}, {}, response(200, response_body)) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cfoundry-0.5.3.rc7 | lib/cc_api_stub/domains.rb |
cfoundry-0.5.3.rc6 | lib/cc_api_stub/domains.rb |
cfoundry-0.6.0.rc2 | lib/cc_api_stub/domains.rb |
cfoundry-0.6.0.rc1 | lib/cc_api_stub/domains.rb |