webrat/spec/integration/sinatra/test/test_helper.rb
2010-04-12 22:28:14 -03:00

17 lines
336 B
Ruby

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