lib/cc_api_stub/domains.rb in cfoundry-0.6.0 vs lib/cc_api_stub/domains.rb in cfoundry-0.6.1.rc1
- old
+ new
@@ -19,8 +19,14 @@
def succeed_to_add_space
response_body = Helper.load_fixtures("fake_cc_created_domain")
stub_put(%r{/v2/domains/[^/]+/spaces/[^/]+$}, {}, response(201, response_body))
end
+
+ private
+
+ def object_endpoint
+ %r{/v2/domains/[^/]+$}
+ end
end
end
end