shorten comment lines at test/ui/base.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11975 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2013-06-14 10:50:48 +00:00
parent 17378152bf
commit 9b549fdfe9
1 changed files with 6 additions and 3 deletions

View File

@ -20,13 +20,16 @@ require 'capybara/rails'
Capybara.default_driver = :selenium
Capybara.register_driver :selenium do |app|
# Use the following driver definition to test locally using Chrome (also requires chromedriver to be in PATH)
# Use the following driver definition to test locally using Chrome
# (also requires chromedriver to be in PATH)
# Capybara::Selenium::Driver.new(app, :browser => :chrome)
# Add :switches => %w[--lang=en] to force default browser locale to English
# Default for Selenium remote driver is to connect to local host on port 4444
# This can be change using :url => 'http://localhost:9195' if necessary
# PhantomJS 1.8 now directly supports Webdriver Wire API, simply run it with `phantomjs --webdriver 4444`
# Add :desired_capabilities => Selenium::WebDriver::Remote::Capabilities.internet_explorer) to run on Selenium Grid Hub with IE
# PhantomJS 1.8 now directly supports Webdriver Wire API,
# simply run it with `phantomjs --webdriver 4444`
# Add :desired_capabilities => Selenium::WebDriver::Remote::Capabilities.internet_explorer)
# to run on Selenium Grid Hub with IE
Capybara::Selenium::Driver.new(app, :browser => :remote)
end