test/helper.rb in sinatra-0.1.7 vs test/helper.rb in sinatra-0.2.0

- old
+ new

@@ -1,17 +1,4 @@ -require File.dirname(__FILE__) + '/../lib/sinatra' +require File.dirname(__FILE__) + "/../lib/sinatra" +require File.dirname(__FILE__) + "/../lib/sinatra/test/spec" -%w(mocha test/spec).each do |library| - begin - require library - rescue - STDERR.puts "== Sinatra's tests need #{library} to run." - end -end - -Sinatra::Server.running = true -Sinatra::Options.set_environment :test -Sinatra::Environment.prepare_loggers - -class Test::Unit::TestCase - include Sinatra::TestMethods -end +require "mocha"