mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
make test_helper no longer be loaded as a test (#1283)
running `rake` loads all files starting with `test_` which is not supposed to also load the helper, since the helper should be loaded by each test and is not a test itself.
This commit is contained in:
parent
e77355e089
commit
9d93a0f62f
24 changed files with 23 additions and 23 deletions
|
@ -1,4 +1,4 @@
|
|||
require_relative "test_helper"
|
||||
require_relative "helper"
|
||||
|
||||
require "puma/app/status"
|
||||
require "rack"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require_relative "test_helper"
|
||||
require_relative "helper"
|
||||
|
||||
require "puma/binder"
|
||||
require "puma/events"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require_relative "test_helper"
|
||||
require_relative "helper"
|
||||
|
||||
require "puma/cli"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require_relative "test_helper"
|
||||
require_relative "helper"
|
||||
|
||||
require "puma/configuration"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require_relative "test_helper"
|
||||
require_relative "helper"
|
||||
|
||||
require "puma/events"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require_relative "test_helper"
|
||||
require_relative "helper"
|
||||
|
||||
require "puma/puma_http11"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Copyright (c) 2011 Evan Phoenix
|
||||
# Copyright (c) 2005 Zed A. Shaw
|
||||
|
||||
require_relative "test_helper"
|
||||
require_relative "helper"
|
||||
|
||||
require "puma/puma_http11"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require_relative "test_helper"
|
||||
require_relative "helper"
|
||||
|
||||
require "puma/cli"
|
||||
require "puma/control_cli"
|
||||
|
@ -239,7 +239,7 @@ class TestIntegration < Minitest::Test
|
|||
|
||||
# It does not share environments between multiple generations, which would break Dotenv
|
||||
def test_restart_restores_environment
|
||||
server("-q test/hello-env.ru")
|
||||
server("-q test/rackup/hello-env.ru")
|
||||
|
||||
s = connect
|
||||
initial_reply = s.read
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require_relative "test_helper"
|
||||
require_relative "helper"
|
||||
|
||||
require "puma/io_buffer"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require_relative "test_helper"
|
||||
require_relative "helper"
|
||||
|
||||
require "puma/minissl"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require_relative "test_helper"
|
||||
require_relative "helper"
|
||||
|
||||
require "puma/null_io"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require_relative "test_helper"
|
||||
require_relative "helper"
|
||||
|
||||
class TestPersistent < Minitest::Test
|
||||
def setup
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require_relative "test_helper"
|
||||
require_relative "helper"
|
||||
|
||||
class TestPumaServer < Minitest::Test
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require_relative "test_helper"
|
||||
require_relative "helper"
|
||||
|
||||
require "puma/events"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require_relative "test_helper"
|
||||
require_relative "helper"
|
||||
|
||||
require 'puma/control_cli'
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require_relative "test_helper"
|
||||
require_relative "helper"
|
||||
|
||||
require "rack/handler/puma"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require_relative "test_helper"
|
||||
require_relative "helper"
|
||||
|
||||
require "rack"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require_relative "test_helper"
|
||||
require_relative "helper"
|
||||
|
||||
require "puma/events"
|
||||
require "puma/tcp_logger"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require_relative "test_helper"
|
||||
require_relative "helper"
|
||||
|
||||
require "puma/events"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require_relative "test_helper"
|
||||
require_relative "helper"
|
||||
|
||||
require "puma/thread_pool"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require_relative "test_helper"
|
||||
require_relative "helper"
|
||||
|
||||
# UNIX sockets are not recommended on JRuby
|
||||
# (or Windows)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Copyright (c) 2011 Evan Phoenix
|
||||
# Copyright (c) 2005 Zed A. Shaw
|
||||
|
||||
require_relative "test_helper"
|
||||
require_relative "helper"
|
||||
|
||||
require "puma/server"
|
||||
|
||||
|
|
Loading…
Reference in a new issue