diff options
| author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2019-11-15 11:23:59 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-15 11:23:59 +0900 |
| commit | 6cade43ff94875d52d954d72926c02a660c03442 (patch) | |
| tree | 86c50bc02fa94e0349d2bd16be1e2bf09f682e97 | |
| parent | 2b4b041c6c0c4722da7fc8b8f2ef948c4c5ee500 (diff) | |
| parent | 959c393c9a8457e301289c88d860d9d8df42e2dc (diff) | |
| download | rack-6cade43ff94875d52d954d72926c02a660c03442.tar.gz | |
Merge pull request #1172 from radekosmulski/fix-cgi-spec-bug
Fix cgi specs
| -rw-r--r-- | test/spec_cgi.rb | 4 | ||||
| -rw-r--r-- | test/spec_fastcgi.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/spec_cgi.rb b/test/spec_cgi.rb index 4e8111a6..8d48e999 100644 --- a/test/spec_cgi.rb +++ b/test/spec_cgi.rb @@ -2,7 +2,7 @@ require 'helper' -if defined? LIGHTTPD_PID +if defined? Rack::TestCase::LIGHTTPD_PID require File.expand_path('../testrequest', __FILE__) require 'rack/handler/cgi' @@ -83,4 +83,4 @@ describe Rack::Handler::CGI do end end -end # if defined? LIGHTTPD_PID +end # if defined? Rack::TestCase::LIGHTTPD_PID diff --git a/test/spec_fastcgi.rb b/test/spec_fastcgi.rb index db662a57..f3942076 100644 --- a/test/spec_fastcgi.rb +++ b/test/spec_fastcgi.rb @@ -2,7 +2,7 @@ require 'helper' -if defined? LIGHTTPD_PID +if defined? Rack::TestCase::LIGHTTPD_PID require File.expand_path('../testrequest', __FILE__) require 'rack/handler/fastcgi' @@ -84,4 +84,4 @@ describe Rack::Handler::FastCGI do end end -end # if defined? LIGHTTPD_PID +end # if defined? Rack::TestCase::LIGHTTPD_PID |
