1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Skip fcgi dispatcher tests if fcgi lib isn't available

This commit is contained in:
Jeremy Kemper 2008-11-24 21:47:26 -08:00
parent d40bc307f9
commit cb49681710

View file

@ -1,7 +1,6 @@
require 'abstract_unit'
uses_mocha 'fcgi dispatcher tests' do
begin
require 'fcgi_handler'
module ActionController; module Routing; module Routes; end end end
@ -296,4 +295,6 @@ class RailsFCGIHandlerPeriodicGCTest < Test::Unit::TestCase
end
end
end # uses_mocha
rescue LoadError => e
raise unless e.message =~ /fcgi/
end