Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add basic rack app for testing, setup rack-test.

  • Loading branch information...
commit 7bd604014b5ad0e4588f077fc8eb83cc02c46d7b 1 parent 0a325ae
Matt Sanders nextmat authored
Showing with 6 additions and 0 deletions.
  1. +1 −0  Gemfile
  2. +5 −0 test/apps/basic.ru
1  Gemfile
View
@@ -2,6 +2,7 @@ source "http://rubygems.org"
gemspec
# test application
+gem 'rack-test'
gem 'sinatra'
# mocks
5 test/apps/basic.ru
View
@@ -0,0 +1,5 @@
+require 'bundler/setup'
+require 'librato-rack'
+
+use Librato::Rack
+run Proc.new { |env| [200, {"Content-Type" => 'text/html'}, ["Hello!"]]}
Please sign in to comment.
Something went wrong with that request. Please try again.