2009-08-20 02:43:23 +00:00
|
|
|
require "rack"
|
|
|
|
require "nokogiri"
|
|
|
|
|
2008-04-04 16:12:46 +00:00
|
|
|
module Webrat
|
2009-09-07 17:25:33 +00:00
|
|
|
VERSION = "0.6pre"
|
|
|
|
|
2009-08-20 03:30:06 +00:00
|
|
|
autoload :MechanizeAdapter, "webrat/adapters/mechanize"
|
|
|
|
autoload :MerbAdapter, "webrat/adapters/merb"
|
|
|
|
autoload :RackAdapter, "webrat/adapters/rack"
|
|
|
|
autoload :RailsAdapter, "webrat/adapters/rails"
|
|
|
|
autoload :SinatraAdapter, "webrat/adapters/sinatra"
|
|
|
|
|
2008-11-25 06:34:34 +00:00
|
|
|
# The common base class for all exceptions raised by Webrat.
|
2008-11-15 00:50:45 +00:00
|
|
|
class WebratError < StandardError
|
|
|
|
end
|
2008-04-05 16:49:18 +00:00
|
|
|
end
|
|
|
|
|
2008-10-25 16:59:21 +00:00
|
|
|
require "webrat/core"
|