Sha256: 4a24ace1d265023be6551306fbb2cdd1a3a1d5a224d6c2302f3d88e6d82560a5
Contents?: true
Size: 535 Bytes
Versions: 39
Compression:
Stored size: 535 Bytes
Contents
module CcApiStub module Services extend Helper class << self def succeed_to_load stub_get(collection_endpoint, {}, response(200, services_fixture)) end def service_fixture_hash MultiJson.load(services_fixture["resources"].first.to_json, :symbolize_keys => true) end private def collection_endpoint %r{/v2/services\?inline-relations-depth=1} end def services_fixture Helper.load_fixtures("fake_cc_service_types") end end end end
Version data entries
39 entries across 39 versions & 3 rubygems