webrat/spec/integration/rack/test/test_helper.rb
2009-06-24 15:13:27 +02:00

21 lines
344 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
end
class Test::Unit::TestCase
include Rack::Test::Methods
include Webrat::Methods
include Webrat::Matchers
def app
RackApp.new
end
end