From 4540cebf3ee6c0d2a7e64757460d05cff3bbffbf Mon Sep 17 00:00:00 2001 From: eileencodes Date: Sat, 12 Nov 2016 17:58:07 -0500 Subject: Amend documentation Many changes have been made since the beginning so documentation needed a refresher. --- actionsystemtest/lib/action_system_test/driver_adapter.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'actionsystemtest/lib/action_system_test/driver_adapter.rb') diff --git a/actionsystemtest/lib/action_system_test/driver_adapter.rb b/actionsystemtest/lib/action_system_test/driver_adapter.rb index 892edd2d32..3a0ab0763a 100644 --- a/actionsystemtest/lib/action_system_test/driver_adapter.rb +++ b/actionsystemtest/lib/action_system_test/driver_adapter.rb @@ -2,22 +2,24 @@ require "action_system_test/driver_adapters" module ActionSystemTest # The ActionSystemTest::DriverAdapter module is used to load the driver - # set in your Rails' test configuration file. + # set in the +system_test_helper+ file generated with your application. # # The default driver adapter is the +:rails_selenium_driver+. module DriverAdapter extend ActiveSupport::Concern module ClassMethods - # Returns the current driver that is set. If no driver is set in the - # Rails' configuration file then +:rails_selenium_driver+ will be - # initialized. + # Returns the current driver that is set in the ActionSystemTestCase + # class generated with your Rails application. If no driver is set + # +:rails_selenium_driver+ will be initialized. def driver @driver ||= DriverAdapters.lookup(DEFAULT_DRIVER) end # Specify the adapter and settings for the system test driver set in the # Rails' configuration file. + # + # When set, the driver will be initialized. def driver=(driver) @driver = DriverAdapters.lookup(driver) @driver.call -- cgit v1.2.3