mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
15 lines
376 B
Ruby
15 lines
376 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "abstract_unit"
|
|
require "capybara/dsl"
|
|
require "action_dispatch/system_testing/server"
|
|
|
|
class ServerTest < ActiveSupport::TestCase
|
|
setup do
|
|
ActionDispatch::SystemTesting::Server.new.run
|
|
end
|
|
|
|
test "port is always included" do
|
|
assert Capybara.always_include_port, "expected Capybara.always_include_port to be true"
|
|
end
|
|
end
|