Permalink
Browse files

Code formatting

  • Loading branch information...
1 parent 1b0f3c7 commit 5c382a5378f4fd9e76812069b783fcaeb27abac7 @brynary committed Jul 24, 2010
Showing with 6 additions and 2 deletions.
  1. +6 −2 lib/webrat/selenium/selenium_session.rb
View
8 lib/webrat/selenium/selenium_session.rb
@@ -236,8 +236,12 @@ def setup #:nodoc:
def create_browser
- $browser = ::Selenium::Client::Driver.new(Webrat.configuration.selenium_server_address || "localhost",
- Webrat.configuration.selenium_server_port, Webrat.configuration.selenium_browser_key, "http://#{Webrat.configuration.application_address}:#{Webrat.configuration.application_port_for_selenium}")
+ $browser = ::Selenium::Client::Driver.new(
+ Webrat.configuration.selenium_server_address || "localhost",
+ Webrat.configuration.selenium_server_port,
+ Webrat.configuration.selenium_browser_key,
+ "http://#{Webrat.configuration.application_address}:#{Webrat.configuration.application_port_for_selenium}"
+ )
$browser.set_speed(0) unless Webrat.configuration.selenium_server_address
at_exit do

0 comments on commit 5c382a5

Please sign in to comment.