mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
1a0ca84a06
* 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
10 lines
299 B
Ruby
10 lines
299 B
Ruby
require "abstract_unit"
|
|
require "capybara/dsl"
|
|
require "action_dispatch/system_testing/server"
|
|
|
|
class ServerTest < ActiveSupport::TestCase
|
|
test "initializing the server port" do
|
|
server = ActionDispatch::SystemTesting::Server.new.run
|
|
assert_includes Capybara.servers, :rails_puma
|
|
end
|
|
end
|