Permalink
Browse files

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

  • Loading branch information...
1 parent 0a325ae commit 7bd604014b5ad0e4588f077fc8eb83cc02c46d7b @nextmat nextmat committed Jan 21, 2013
Showing with 6 additions and 0 deletions.
  1. +1 −0 Gemfile
  2. +5 −0 test/apps/basic.ru
View
@@ -2,6 +2,7 @@ source "http://rubygems.org"
gemspec
# test application
+gem 'rack-test'
gem 'sinatra'
# mocks
View
@@ -0,0 +1,5 @@
+require 'bundler/setup'
+require 'librato-rack'
+
+use Librato::Rack
+run Proc.new { |env| [200, {"Content-Type" => 'text/html'}, ["Hello!"]]}

0 comments on commit 7bd6040

Please sign in to comment.