diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-09-06 21:19:29 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-09-06 21:19:29 -0500 |
commit | 1c02fc295dc8281b8c3352bdd95869d5421aff08 (patch) | |
tree | 31901d7c8cd5dd4a499a2838c3bbebbd1bff2ae2 | |
parent | c3accd7ded9ceaaecad55a2b04940e1f0631a614 (diff) | |
download | rails-1c02fc295dc8281b8c3352bdd95869d5421aff08.tar.gz rails-1c02fc295dc8281b8c3352bdd95869d5421aff08.tar.bz2 rails-1c02fc295dc8281b8c3352bdd95869d5421aff08.zip |
Fix isolated running of ActionPackAssertionTest
-rw-r--r-- | actionpack/test/controller/action_pack_assertions_test.rb | 1 | ||||
-rw-r--r-- | actionpack/test/lib/controller/fake_controllers.rb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/actionpack/test/controller/action_pack_assertions_test.rb b/actionpack/test/controller/action_pack_assertions_test.rb index 453812c128..901cb940ea 100644 --- a/actionpack/test/controller/action_pack_assertions_test.rb +++ b/actionpack/test/controller/action_pack_assertions_test.rb @@ -1,5 +1,6 @@ require 'abstract_unit' require 'action_controller/vendor/html-scanner' +require 'controller/fake_controllers' # a controller class to facilitate the tests class ActionPackAssertionsController < ActionController::Base diff --git a/actionpack/test/lib/controller/fake_controllers.rb b/actionpack/test/lib/controller/fake_controllers.rb index 6e02e2d21b..d41547b902 100644 --- a/actionpack/test/lib/controller/fake_controllers.rb +++ b/actionpack/test/lib/controller/fake_controllers.rb @@ -9,7 +9,7 @@ module Admin class UserController < ActionController::Base; end class NewsFeedController < ActionController::Base; end end - +class ElsewhereController < ActionController::Base; end # For speed test class SpeedController < ActionController::Base; end |