1
0
Fork 0
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:
Michael Grosser 2017-05-12 12:16:55 -07:00 committed by Nate Berkopec
parent e77355e089
commit 9d93a0f62f
24 changed files with 23 additions and 23 deletions

View file

@ -1,4 +1,4 @@
require_relative "test_helper"
require_relative "helper"
require "puma/app/status"
require "rack"

View file

@ -1,4 +1,4 @@
require_relative "test_helper"
require_relative "helper"
require "puma/binder"
require "puma/events"

View file

@ -1,4 +1,4 @@
require_relative "test_helper"
require_relative "helper"
require "puma/cli"

View file

@ -1,4 +1,4 @@
require_relative "test_helper"
require_relative "helper"
require "puma/configuration"

View file

@ -1,4 +1,4 @@
require_relative "test_helper"
require_relative "helper"
require "puma/events"

View file

@ -1,4 +1,4 @@
require_relative "test_helper"
require_relative "helper"
require "puma/puma_http11"

View file

@ -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"

View file

@ -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

View file

@ -1,4 +1,4 @@
require_relative "test_helper"
require_relative "helper"
require "puma/io_buffer"

View file

@ -1,4 +1,4 @@
require_relative "test_helper"
require_relative "helper"
require "puma/minissl"

View file

@ -1,4 +1,4 @@
require_relative "test_helper"
require_relative "helper"
require "puma/null_io"

View file

@ -1,4 +1,4 @@
require_relative "test_helper"
require_relative "helper"
class TestPersistent < Minitest::Test
def setup

View file

@ -1,4 +1,4 @@
require_relative "test_helper"
require_relative "helper"
class TestPumaServer < Minitest::Test

View file

@ -1,4 +1,4 @@
require_relative "test_helper"
require_relative "helper"
require "puma/events"

View file

@ -1,4 +1,4 @@
require_relative "test_helper"
require_relative "helper"
require 'puma/control_cli'

View file

@ -1,4 +1,4 @@
require_relative "test_helper"
require_relative "helper"
require "rack/handler/puma"

View file

@ -1,4 +1,4 @@
require_relative "test_helper"
require_relative "helper"
require "rack"

View file

@ -1,4 +1,4 @@
require_relative "test_helper"
require_relative "helper"
require "puma/events"
require "puma/tcp_logger"

View file

@ -1,4 +1,4 @@
require_relative "test_helper"
require_relative "helper"
require "puma/events"

View file

@ -1,4 +1,4 @@
require_relative "test_helper"
require_relative "helper"
require "puma/thread_pool"

View file

@ -1,4 +1,4 @@
require_relative "test_helper"
require_relative "helper"
# UNIX sockets are not recommended on JRuby
# (or Windows)

View file

@ -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"