aboutsummaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2017-10-28 22:44:06 +1030
committerMatthew Draper <matthew@trebex.net>2017-10-28 22:44:06 +1030
commitf50aeba01ee14f8fcd9fd98ec75b26cd5ef7aea8 (patch)
treee91a41cfd2407243b342cda69e9dbb31cb6fc9bb /ci
parentbf6456e05395583809f4565844a8dc088431fce7 (diff)
downloadrails-f50aeba01ee14f8fcd9fd98ec75b26cd5ef7aea8.tar.gz
rails-f50aeba01ee14f8fcd9fd98ec75b26cd5ef7aea8.tar.bz2
rails-f50aeba01ee14f8fcd9fd98ec75b26cd5ef7aea8.zip
Keep rubocop happy with the new Selenium runner
Diffstat (limited to 'ci')
-rw-r--r--ci/qunit-selenium-runner.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/ci/qunit-selenium-runner.rb b/ci/qunit-selenium-runner.rb
index 9b856e2a41..3a58377d77 100644
--- a/ci/qunit-selenium-runner.rb
+++ b/ci/qunit-selenium-runner.rb
@@ -1,9 +1,11 @@
-require 'qunit/selenium/test_runner'
-require 'chromedriver/helper'
+# frozen_string_literal: true
+
+require "qunit/selenium/test_runner"
+require "chromedriver/helper"
driver_options = Selenium::WebDriver::Chrome::Options.new
-driver_options.add_argument('--headless')
-driver_options.add_argument('--disable-gpu')
+driver_options.add_argument("--headless")
+driver_options.add_argument("--disable-gpu")
driver = ::Selenium::WebDriver.for(:chrome, options: driver_options)
result = QUnit::Selenium::TestRunner.new(driver).open(ARGV[0], timeout: 60)