aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2016-09-17 09:36:02 -0400
committereileencodes <eileencodes@gmail.com>2017-02-20 15:07:32 -0500
commitd63cfa2738520392ec37b2f77302a6f9f6df1618 (patch)
treef455f52ff4fc380342669ec334823f1082020fc9 /actionpack
parentfaba2505ddf6d0c2825cddcc0468a89232a9d8ae (diff)
downloadrails-d63cfa2738520392ec37b2f77302a6f9f6df1618.tar.gz
rails-d63cfa2738520392ec37b2f77302a6f9f6df1618.tar.bz2
rails-d63cfa2738520392ec37b2f77302a6f9f6df1618.zip
Move SystemTesting::Base into SystemTestCase
There's no real benefit to the using the `Base` class here because `SystemTestCase` is already a very small class.
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/system_test_case.rb8
-rw-r--r--actionpack/lib/system_testing/base.rb11
2 files changed, 6 insertions, 13 deletions
diff --git a/actionpack/lib/system_test_case.rb b/actionpack/lib/system_test_case.rb
index 3a621fb6f0..2072a88d22 100644
--- a/actionpack/lib/system_test_case.rb
+++ b/actionpack/lib/system_test_case.rb
@@ -1,7 +1,11 @@
-require 'system_testing/base'
+require 'system_testing/test_helper'
+require 'system_testing/driver_adapter'
module Rails
class SystemTestCase < ActionDispatch::IntegrationTest
- include SystemTesting::Base
+ include SystemTesting::TestHelper
+ include SystemTesting::DriverAdapter
+
+ ActiveSupport.run_load_hooks(:system_testing, self)
end
end
diff --git a/actionpack/lib/system_testing/base.rb b/actionpack/lib/system_testing/base.rb
deleted file mode 100644
index 770342da82..0000000000
--- a/actionpack/lib/system_testing/base.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-require 'system_testing/test_helper'
-require 'system_testing/driver_adapter'
-
-module SystemTesting
- module Base
- include TestHelper
- include DriverAdapter
-
- ActiveSupport.run_load_hooks(:system_testing, self)
- end
-end