Remove thin? and add rainbows? in integration_test.

This commit is contained in:
Ryuichi KAWAMATA 2020-07-26 18:10:00 +09:00
parent b989bdaa45
commit 559f01a295
2 changed files with 5 additions and 5 deletions

View File

@ -61,7 +61,7 @@ module IntegrationHelper
file, dir = RbConfig::CONFIG.values_at('ruby_install_name', 'bindir')
cmd << File.expand_path(file, dir).inspect
end
cmd << "-w" unless thin? || net_http_server?
cmd << "-w" unless net_http_server?
cmd << "-I" << File.expand_path('../../lib', __FILE__).inspect
cmd << app_file.inspect << '-s' << server << '-o' << '127.0.0.1' << '-p' << port
cmd << "-e" << environment.to_s << '2>&1'
@ -73,8 +73,8 @@ module IntegrationHelper
name.to_s == "webrick"
end
def thin?
name.to_s == "thin"
def rainbows?
name.to_s == "rainbows"
end
def puma?

View File

@ -40,7 +40,7 @@ class IntegrationTest < Minitest::Test
end
it 'streams async' do
next unless server.thin?
next unless server.rainbows?
Timeout.timeout(3) do
chunks = []
@ -58,7 +58,7 @@ class IntegrationTest < Minitest::Test
end
it 'streams async from subclass' do
next unless server.thin?
next unless server.rainbows?
Timeout.timeout(3) do
chunks = []