From f50aeba01ee14f8fcd9fd98ec75b26cd5ef7aea8 Mon Sep 17 00:00:00 2001 From: Matthew Draper Date: Sat, 28 Oct 2017 22:44:06 +1030 Subject: Keep rubocop happy with the new Selenium runner --- ci/qunit-selenium-runner.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'ci') 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) -- cgit v1.2.3