aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-09-06 23:02:55 -0500
committerJoshua Peek <josh@joshpeek.com>2009-09-06 23:02:55 -0500
commit2ae84e04aa18f6b35c628349c8c816fe1538cd70 (patch)
treee5cb85316fa3d76ebd3d9bcb3ad24d1b365d30ed /actionpack/test
parentc531bd66651639c25cc8d1b90dd6b56e5db3581b (diff)
downloadrails-2ae84e04aa18f6b35c628349c8c816fe1538cd70.tar.gz
rails-2ae84e04aa18f6b35c628349c8c816fe1538cd70.tar.bz2
rails-2ae84e04aa18f6b35c628349c8c816fe1538cd70.zip
Add fake controllers for url rewriter tests
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/controller/url_rewriter_test.rb1
-rw-r--r--actionpack/test/lib/controller/fake_controllers.rb5
2 files changed, 6 insertions, 0 deletions
diff --git a/actionpack/test/controller/url_rewriter_test.rb b/actionpack/test/controller/url_rewriter_test.rb
index 9b8d07222b..4c4bf9ade4 100644
--- a/actionpack/test/controller/url_rewriter_test.rb
+++ b/actionpack/test/controller/url_rewriter_test.rb
@@ -1,4 +1,5 @@
require 'abstract_unit'
+require 'controller/fake_controllers'
ActionController::UrlRewriter
diff --git a/actionpack/test/lib/controller/fake_controllers.rb b/actionpack/test/lib/controller/fake_controllers.rb
index b96e91f4f7..22729188a2 100644
--- a/actionpack/test/lib/controller/fake_controllers.rb
+++ b/actionpack/test/lib/controller/fake_controllers.rb
@@ -12,6 +12,11 @@ end
class ElsewhereController < ActionController::Base; end
class AddressesController < ActionController::Base; end
class SessionsController < ActionController::Base; end
+class FooController < ActionController::Base; end
+class CController < ActionController::Base; end
+class HiController < ActionController::Base; end
+class BraveController < ActionController::Base; end
+class ImageController < ActionController::Base; end
# For speed test
class SpeedController < ActionController::Base; end