diff options
Diffstat (limited to 'spec/lib/fcgi_fixes_spec.rb')
-rw-r--r-- | spec/lib/fcgi_fixes_spec.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/lib/fcgi_fixes_spec.rb b/spec/lib/fcgi_fixes_spec.rb new file mode 100644 index 000000000..92b954645 --- /dev/null +++ b/spec/lib/fcgi_fixes_spec.rb @@ -0,0 +1,14 @@ +# This is a test of the monkey patches in lib/fcgi_fixes.rb + +require File.dirname(__FILE__) + '/../spec_helper' + +require 'railties/lib/fcgi_handler.rb' + +describe "when doing FastCGI" do + + it "should have fixed dynamic FastCGI bug" do + RailsFCGIHandler::SIGNALS['TERM'].should == :exit + end + +end + |