aboutsummaryrefslogtreecommitdiffstats
path: root/actionsystemtest/lib/action_system_test/server.rb
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2017-02-19 11:50:42 -0500
committereileencodes <eileencodes@gmail.com>2017-02-20 15:07:35 -0500
commit1a0ca84a064b07ecab798793a3d7ebe89bb6367c (patch)
treeb4eccc275e62040d0a3ffdcc19103e54ab0289b6 /actionsystemtest/lib/action_system_test/server.rb
parent0a683085b1db435b7371350b2799a0f248cd717a (diff)
downloadrails-1a0ca84a064b07ecab798793a3d7ebe89bb6367c.tar.gz
rails-1a0ca84a064b07ecab798793a3d7ebe89bb6367c.tar.bz2
rails-1a0ca84a064b07ecab798793a3d7ebe89bb6367c.zip
Move and rename system tests
* Move system tests back into Action Pack * Rename `ActionSystemTest` to `ActionDispatch::SystemTestCase` * Remove private base module and only make file for public `SystemTestCase` class, name private module `SystemTesting` * Rename `ActionSystemTestCase` to `ApplicationSystemTestCase` * Update corresponding documentation and guides * Delete old `ActionSystemTest` files
Diffstat (limited to 'actionsystemtest/lib/action_system_test/server.rb')
-rw-r--r--actionsystemtest/lib/action_system_test/server.rb21
1 files changed, 0 insertions, 21 deletions
diff --git a/actionsystemtest/lib/action_system_test/server.rb b/actionsystemtest/lib/action_system_test/server.rb
deleted file mode 100644
index 76ae30f753..0000000000
--- a/actionsystemtest/lib/action_system_test/server.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-require "rack/handler/puma"
-
-module ActionSystemTest
- class Server # :nodoc:
- def run
- register
- setup
- end
-
- private
- def register
- Capybara.register_server :rails_puma do |app, port, host|
- Rack::Handler::Puma.run(app, Port: port, Threads: "0:1")
- end
- end
-
- def setup
- Capybara.server = :rails_puma
- end
- end
-end