aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/system_testing
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2016-10-04 08:48:21 -0400
committereileencodes <eileencodes@gmail.com>2017-02-20 15:07:33 -0500
commita21e18d5080a2c4808330271885f5664a725d3f3 (patch)
tree4b82d8843fdddf71263eecd72c676fe3d8902d6e /actionpack/test/system_testing
parentc83e6d36dd13baa8b8cb48ce1c628788a2456d21 (diff)
downloadrails-a21e18d5080a2c4808330271885f5664a725d3f3.tar.gz
rails-a21e18d5080a2c4808330271885f5664a725d3f3.tar.bz2
rails-a21e18d5080a2c4808330271885f5664a725d3f3.zip
Appease Rubocop
Rubocop / code climate don't like single quotes and prefer doubles.
Diffstat (limited to 'actionpack/test/system_testing')
-rw-r--r--actionpack/test/system_testing/capybara_driver_test.rb2
-rw-r--r--actionpack/test/system_testing/driver_adapter_test.rb4
-rw-r--r--actionpack/test/system_testing/rails_selenium_driver_test.rb4
-rw-r--r--actionpack/test/system_testing/screenshot_helper_test.rb2
4 files changed, 6 insertions, 6 deletions
diff --git a/actionpack/test/system_testing/capybara_driver_test.rb b/actionpack/test/system_testing/capybara_driver_test.rb
index a6be63ba7f..129fe95f25 100644
--- a/actionpack/test/system_testing/capybara_driver_test.rb
+++ b/actionpack/test/system_testing/capybara_driver_test.rb
@@ -1,4 +1,4 @@
-require 'abstract_unit'
+require "abstract_unit"
class CapybaraDriverTest < ActiveSupport::TestCase
def setup
diff --git a/actionpack/test/system_testing/driver_adapter_test.rb b/actionpack/test/system_testing/driver_adapter_test.rb
index 220a755bd3..035d018adf 100644
--- a/actionpack/test/system_testing/driver_adapter_test.rb
+++ b/actionpack/test/system_testing/driver_adapter_test.rb
@@ -1,7 +1,7 @@
-require 'abstract_unit'
+require "abstract_unit"
class DriverAdapterTest < ActiveSupport::TestCase
- test 'only registered adapters are accepted' do
+ test "only registered adapters are accepted" do
assert_raises(NameError) do
Rails::SystemTestCase.driver = :whatever
end
diff --git a/actionpack/test/system_testing/rails_selenium_driver_test.rb b/actionpack/test/system_testing/rails_selenium_driver_test.rb
index c239444838..25fc6ca097 100644
--- a/actionpack/test/system_testing/rails_selenium_driver_test.rb
+++ b/actionpack/test/system_testing/rails_selenium_driver_test.rb
@@ -1,4 +1,4 @@
-require 'abstract_unit'
+require "abstract_unit"
class RailsSeleniumDriverTest < ActiveSupport::TestCase
def setup
@@ -51,7 +51,7 @@ class RailsSeleniumDriverTest < ActiveSupport::TestCase
def test_does_not_accept_nonsense_kwargs
assert_raises ArgumentError do
Rails::SystemTestCase.driver = SystemTesting::DriverAdapters::RailsSeleniumDriver.new(
- made_up_arg: 'x'
+ made_up_arg: "x"
)
end
end
diff --git a/actionpack/test/system_testing/screenshot_helper_test.rb b/actionpack/test/system_testing/screenshot_helper_test.rb
index 8bf2d0c8d0..8060c499df 100644
--- a/actionpack/test/system_testing/screenshot_helper_test.rb
+++ b/actionpack/test/system_testing/screenshot_helper_test.rb
@@ -1,4 +1,4 @@
-require 'abstract_unit'
+require "abstract_unit"
class ScreenshotHelperTest < ActiveSupport::TestCase
def test_driver_support_for_screenshots