aboutsummaryrefslogtreecommitdiffstats
path: root/spec/lib/fcgi_fixes_spec.rb
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2009-12-03 13:22:55 +0000
committerFrancis Irving <francis@mysociety.org>2009-12-03 13:22:55 +0000
commit2eabd0bf1d5c3d0cfa0f2883f6cfd65298ef4cd1 (patch)
treece915296612a14789c43e1026b85a2b37a454654 /spec/lib/fcgi_fixes_spec.rb
parent1053556b7c12d757f2e654266a855609658b2964 (diff)
Rename spec files to libs, and to end _spec
Diffstat (limited to 'spec/lib/fcgi_fixes_spec.rb')
-rw-r--r--spec/lib/fcgi_fixes_spec.rb14
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
+