Setup deprecated writers for the selenium_environment= and selenium_port= config methods

This commit is contained in:
Bryan Helmkamp 2009-01-20 00:32:19 -05:00
parent 9a2302e9af
commit e53c64f763

View File

@ -32,10 +32,12 @@ module Webrat
# Which rails environment should the selenium tests be run in? Defaults to selenium. # Which rails environment should the selenium tests be run in? Defaults to selenium.
attr_accessor :application_environment attr_accessor :application_environment
webrat_deprecate :selenium_environment, :application_environment webrat_deprecate :selenium_environment, :application_environment
webrat_deprecate :selenium_environment=, :application_environment=
# Which port is the application running on for selenium testing? Defaults to 3001. # Which port is the application running on for selenium testing? Defaults to 3001.
attr_accessor :application_port attr_accessor :application_port
webrat_deprecate :selenium_port, :application_port webrat_deprecate :selenium_port, :application_port
webrat_deprecate :selenium_port=, :application_port=
# Which server the application is running on for selenium testing? Defaults to localhost # Which server the application is running on for selenium testing? Defaults to localhost
attr_accessor :application_address attr_accessor :application_address