webrat/spec/integration/rack/test/test_helper.rb
2009-05-11 00:12:27 -04:00

21 lines
349 B
Ruby

require "rubygems"
require "test/unit"
require "rack/test"
require "redgreen"
require File.dirname(__FILE__) + "/../../../../lib/webrat"
Webrat.configure do |config|
config.mode = :rack_test
end
class Test::Unit::TestCase
include Rack::Test::Methods
include Webrat::Methods
include Webrat::Matchers
def app
RackApp.new
end
end