Skip to content

Instantly share code, notes, and snippets.

@brianc
Created November 16, 2009 00:23
Show Gist options
  • Save brianc/235601 to your computer and use it in GitHub Desktop.
Save brianc/235601 to your computer and use it in GitHub Desktop.
context RackApp do
get "/" { response.status }.equals(200)
get "/home" { response.body }.matches(/html/)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment