aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/fcgi_dispatcher_test.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-09-26 21:59:28 -0500
committerJoshua Peek <josh@joshpeek.com>2009-09-26 21:59:28 -0500
commita6757a02e12aa584bd74dbcde18a7886be8e9029 (patch)
tree74d3ca8fe45d1bc031371e7735241fa265e42c67 /railties/test/fcgi_dispatcher_test.rb
parent14866fa3d83676d340d94464f50e2e0ea989c3c1 (diff)
downloadrails-a6757a02e12aa584bd74dbcde18a7886be8e9029.tar.gz
rails-a6757a02e12aa584bd74dbcde18a7886be8e9029.tar.bz2
rails-a6757a02e12aa584bd74dbcde18a7886be8e9029.zip
Move middleware and route configuration from AC::Dispatcher to Rails application object
Diffstat (limited to 'railties/test/fcgi_dispatcher_test.rb')
-rw-r--r--railties/test/fcgi_dispatcher_test.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/railties/test/fcgi_dispatcher_test.rb b/railties/test/fcgi_dispatcher_test.rb
index 1e704b862f..4d77a321a0 100644
--- a/railties/test/fcgi_dispatcher_test.rb
+++ b/railties/test/fcgi_dispatcher_test.rb
@@ -5,6 +5,12 @@ uses_gem "fcgi", "0.8.7" do
require 'action_controller'
require 'rails/fcgi_handler'
+module Rails
+ def self.application
+ ActionController::Routing::Routes
+ end
+end
+
class RailsFCGIHandlerTest < Test::Unit::TestCase
def setup
@log = StringIO.new