From e53c64f763230a1ff4fd948b204d3d2e23347cc4 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Tue, 20 Jan 2009 00:32:19 -0500 Subject: [PATCH] Setup deprecated writers for the selenium_environment= and selenium_port= config methods --- lib/webrat/core/configuration.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/webrat/core/configuration.rb b/lib/webrat/core/configuration.rb index 4b1c550..cb0e18f 100755 --- a/lib/webrat/core/configuration.rb +++ b/lib/webrat/core/configuration.rb @@ -32,10 +32,12 @@ module Webrat # Which rails environment should the selenium tests be run in? Defaults to selenium. attr_accessor :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. attr_accessor :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 attr_accessor :application_address