aboutsummaryrefslogtreecommitdiffstats
path: root/ci/qunit-selenium-runner.rb
diff options
context:
space:
mode:
authorDillon Welch <daw0328@gmail.com>2017-11-03 19:58:28 -0700
committerDillon Welch <daw0328@gmail.com>2017-11-03 19:58:28 -0700
commit0f28957edd6a9c281491c854b455180efc040a1c (patch)
tree577d46d88937d4cc811e6860ce3cbdb2a1dad27a /ci/qunit-selenium-runner.rb
parentec13ef75260f6d143e947b0e5176e35e4c1229c2 (diff)
parent9ec67362054e874ed905310a79b670941fa397af (diff)
downloadrails-0f28957edd6a9c281491c854b455180efc040a1c.tar.gz
rails-0f28957edd6a9c281491c854b455180efc040a1c.tar.bz2
rails-0f28957edd6a9c281491c854b455180efc040a1c.zip
Merge remote-tracking branch 'upstream/master' into nofollow-change
Diffstat (limited to 'ci/qunit-selenium-runner.rb')
-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)