webrat/spec/integration/sinatra/test/test_helper.rb
2009-08-12 20:39:35 -04:00

18 lines
355 B
Ruby

require "rubygems"
require "test/unit"
# require "redgreen"
$LOAD_PATH.unshift File.dirname(__FILE__) + "/../../../../lib"
require "webrat"
Webrat.configure do |config|
config.mode = :sinatra
end
class Test::Unit::TestCase
include Webrat::Methods
include Webrat::Matchers
Webrat::Methods.delegate_to_session :response_code, :response_body
end