Module: CcApiStub::ServiceInstances
- Extended by:
- Helper
- Defined in:
- lib/cc_api_stub/service_instances.rb
Class Method Summary collapse
Methods included from Helper
fail_request, fail_to_load, fail_to_load_many, fail_with_error, find_fixture, fixture_prefix, host, host=, load_fixtures, object_class, object_name, response, response, stub_delete, stub_get, stub_post, stub_put, stub_request, succeed_to_create, succeed_to_delete, succeed_to_load, succeed_to_load_empty, succeed_to_load_many, succeed_to_update
Class Method Details
.succeed_to_create ⇒ Object
6 7 8 9 |
# File 'lib/cc_api_stub/service_instances.rb', line 6 def succeed_to_create response_body = Helper.load_fixtures("fake_cc_created_service_instance") stub_post(collection_endpoint, {}, response(201, response_body)) end |