Skip to content

Commit

Permalink
Removing Webrat.root method
Browse files Browse the repository at this point in the history
  • Loading branch information
brynary committed Nov 23, 2008
1 parent 48e43a2 commit 59560a0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion History.txt
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions lib/webrat.rb
Expand Up @@ -7,10 +7,6 @@ class WebratError < StandardError
end

VERSION = '0.3.2'

def self.root #:nodoc:
defined?(RAILS_ROOT) ? RAILS_ROOT : Merb.root
end

def self.require_xml
if on_java?
Expand Down

0 comments on commit 59560a0

Please sign in to comment.