%w[rubygems sinatra].each {|gem| require gem } require 'rack/test' require File.dirname(__FILE__) + "/../app" set :environment, :test