test/helper.rb in rack-2.0.0.alpha vs test/helper.rb in rack-2.0.0.rc1
- old
+ new
@@ -1,9 +1,12 @@
require 'minitest/autorun'
module Rack
class TestCase < Minitest::Test
- if `which lighttpd` && !$?.success?
+ # Check for Lighttpd and launch it for tests if available.
+ `which lighttpd`
+
+ if $?.success?
begin
# Keep this first.
LIGHTTPD_PID = fork {
ENV['RACK_ENV'] = 'deployment'
ENV['RUBYLIB'] = [