Skip to content

Instantly share code, notes, and snippets.

@mlangenberg
Created September 16, 2008 12:41
Show Gist options
  • Save mlangenberg/11023 to your computer and use it in GitHub Desktop.
Save mlangenberg/11023 to your computer and use it in GitHub Desktop.
app = Merb::Rack::Application.new
request = fake_request({:request_uri => '/test'})
response = app.call(request.env)
p response
[200, {"Date"=>"Tue, 16 Sep 2008 14:38:16 +0200", "Content-Type"=>"text/html; charset=utf-8"}, "Hello There!"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment