From 2ae84e04aa18f6b35c628349c8c816fe1538cd70 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Sun, 6 Sep 2009 23:02:55 -0500 Subject: Add fake controllers for url rewriter tests --- actionpack/test/controller/url_rewriter_test.rb | 1 + actionpack/test/lib/controller/fake_controllers.rb | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'actionpack/test') 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 -- cgit v1.2.3