lib/polonium/configuration.rb in polonium-0.3.2 vs lib/polonium/configuration.rb in polonium-0.3.3
- old
+ new
@@ -124,10 +124,10 @@
end
end
# The browser formatted for the Selenese driver.
def formatted_browser
- return "*#{@browser}"
+ @browser.index('*') == 0 ? @browser : "*#{@browser}"
end
# The http host name and port to be entered into the browser address bar
def browser_url
"http://#{external_app_server_host}:#{external_app_server_port}"
\ No newline at end of file