lib/cc_api_stub/domains.rb in cfoundry-0.5.3.rc5 vs lib/cc_api_stub/domains.rb in cfoundry-0.5.3.rc6
- old
+ new
@@ -9,8 +9,13 @@
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