class StatusController < ApplicationController
  respond_to :json

  def get_status
    # API checks
    test_location = Ohanakapa.location("downtown-palo-alto-food-closet")
    test_search = Ohanakapa.search("search", :org_name => "InnVision")

    if test_location.blank? || test_search.blank?
      status = "API did not respond"
    else
      status = "ok"
    end

    render json:
      {
        "status" => status,
        "updated" => Time.now.to_i,
        "dependencies" => ["Ohanakapa","Ohana API","Mandrill","MemCachier"]
      }
  end
end
class StatusController < ApplicationController
  respond_to :json

  def get_status
    # API checks
    test_location = Ohanakapa.location("downtown-palo-alto-food-closet")
    test_search = Ohanakapa.search("search", :keyword => "maceo")

    if test_location.blank? || test_search.blank?
      status = "API did not respond"
    else
      status = "ok"
    end

    render json:
      {
        "status" => status,
        "updated" => Time.now.to_i,
        "dependencies" => ["Ohanakapa","Ohana API","Mandrill","MemCachier"]
      }
  end
end
Update test search to make status check pass
Update test search to make status check pass

The status controller used to look for an organization called "InnVision", but that organization's name has been updated. I changed the search to look for keyword "maceo", which returns one of our dummy test locations.
