[#50 state:resolved] added deprecation warning
This commit is contained in:
parent
796ede6cea
commit
b2c423c49c
|
@ -18,6 +18,7 @@
|
|||
* Adding clicking link by id in selenium mode lh221 (larrytheliquid)
|
||||
* Adding fix for have_selector and have_xpath in descendent blocks lh234 (Thomas Jack)
|
||||
* Adding fix for fields with labels with special characters (Thomas Jack, Mike Gaffney, Bryan Hemlkamp)
|
||||
* Deprecated current_page lh50 (Mike Gaffney)
|
||||
|
||||
== 0.4.4 / 2009-04-06
|
||||
|
||||
|
|
|
@ -69,6 +69,7 @@ For example:
|
|||
|
||||
# For backwards compatibility -- removing in 1.0
|
||||
def current_page #:nodoc:
|
||||
warn "current_page is deprecated and will be going away in the next release. Use current_url instead."
|
||||
page = OpenStruct.new
|
||||
page.url = @current_url
|
||||
page.http_method = @http_method
|
||||
|
|
Loading…
Reference in New Issue