Removing Webrat.root method
This commit is contained in:
parent
48e43a257c
commit
59560a043b
|
@ -48,7 +48,6 @@
|
||||||
* Add #http_accept for including MIME type HTTP "Accept" headers (Ryan Briones)
|
* Add #http_accept for including MIME type HTTP "Accept" headers (Ryan Briones)
|
||||||
* Add #header to support inclusion of custom HTTP 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)
|
* 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)
|
* Add support for clicking areas of an image map (Alex Lang)
|
||||||
* Support relative links, including href="?foo=bar" (Kyle Hargraves)
|
* 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
|
* Separated Rails-specific code from the Webrat core to make it easier to use Webrat with other environments
|
||||||
|
|
|
@ -7,10 +7,6 @@ module Webrat
|
||||||
end
|
end
|
||||||
|
|
||||||
VERSION = '0.3.2'
|
VERSION = '0.3.2'
|
||||||
|
|
||||||
def self.root #:nodoc:
|
|
||||||
defined?(RAILS_ROOT) ? RAILS_ROOT : Merb.root
|
|
||||||
end
|
|
||||||
|
|
||||||
def self.require_xml
|
def self.require_xml
|
||||||
if on_java?
|
if on_java?
|
||||||
|
|
Loading…
Reference in New Issue