module GdsApi::TestHelpers::FactCave

def fact_cave_does_not_have_a_fact(slug)

def fact_cave_does_not_have_a_fact(slug)
  response = {
    "_response_info" => { "status" => "not found" }
  }
  stub_request(:get, "#{FACT_CAVE_ENDPOINT}/facts/#{slug}")
    .to_return(:body => response.to_json, :status => 404)
  stub_request(:get, "#{FACT_CAVE_ENDPOINT}/facts/#{slug}.json")
    .to_return(:body => response.to_json, :status => 404)
end