aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/system_testing/driver_adapters.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/system_testing/driver_adapters.rb')
-rw-r--r--actionpack/lib/system_testing/driver_adapters.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/actionpack/lib/system_testing/driver_adapters.rb b/actionpack/lib/system_testing/driver_adapters.rb
new file mode 100644
index 0000000000..38e2bdddcc
--- /dev/null
+++ b/actionpack/lib/system_testing/driver_adapters.rb
@@ -0,0 +1,13 @@
+module SystemTesting
+ module DriverAdapters
+ extend ActiveSupport::Autoload
+
+ autoload :CapybaraRackTestDriver
+
+ class << self
+ def lookup(name)
+ const_get(name.to_s.camelize)
+ end
+ end
+ end
+end