diff --git a/History.txt b/History.txt index 1899022..6475480 100644 --- a/History.txt +++ b/History.txt @@ -48,7 +48,6 @@ * Add #http_accept for including MIME type HTTP "Accept" headers (Ryan Briones) * Add #header to support inclusion of custom HTTP headers (Ryan Briones) * Consider response codes 200-499 as successful enough to not raise a Webrat error (David Leal) - * Add Webrat.root method for cross-framework support (Krzysztof Zylawy) * Add support for clicking areas of an image map (Alex Lang) * Support relative links, including href="?foo=bar" (Kyle Hargraves) * Separated Rails-specific code from the Webrat core to make it easier to use Webrat with other environments diff --git a/lib/webrat.rb b/lib/webrat.rb index 39ef24a..908a00a 100644 --- a/lib/webrat.rb +++ b/lib/webrat.rb @@ -7,10 +7,6 @@ module Webrat end VERSION = '0.3.2' - - def self.root #:nodoc: - defined?(RAILS_ROOT) ? RAILS_ROOT : Merb.root - end def self.require_xml if on_java?