diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-01-14 18:11:38 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-01-17 10:04:37 -0200 |
commit | bc50cb31d6b1064463b371cf428e7eb6fcbf2fd3 (patch) | |
tree | b4c64f9454c6cf00963fda0bed0cd30ddb16707d /actionpack/test/controller | |
parent | 4280b20cde6d0ec4694f25288832d098c83cceba (diff) | |
download | rails-bc50cb31d6b1064463b371cf428e7eb6fcbf2fd3.tar.gz rails-bc50cb31d6b1064463b371cf428e7eb6fcbf2fd3.tar.bz2 rails-bc50cb31d6b1064463b371cf428e7eb6fcbf2fd3.zip |
Remove old compatibility methods not being used
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/caching_test.rb | 2 | ||||
-rw-r--r-- | actionpack/test/controller/view_paths_test.rb | 7 |
2 files changed, 0 insertions, 9 deletions
diff --git a/actionpack/test/controller/caching_test.rb b/actionpack/test/controller/caching_test.rb index 34a38a5567..443b56830a 100644 --- a/actionpack/test/controller/caching_test.rb +++ b/actionpack/test/controller/caching_test.rb @@ -686,8 +686,6 @@ class FragmentCachingTest < ActionController::TestCase @controller.params = @params @controller.request = @request @controller.response = @response - @controller.send(:initialize_template_class, @response) - @controller.send(:assign_shortcuts, @request, @response) end def test_fragment_cache_key diff --git a/actionpack/test/controller/view_paths_test.rb b/actionpack/test/controller/view_paths_test.rb index 872f171c42..77b928d368 100644 --- a/actionpack/test/controller/view_paths_test.rb +++ b/actionpack/test/controller/view_paths_test.rb @@ -24,16 +24,9 @@ class ViewLoadPathsTest < ActionController::TestCase end def setup - # TestController.view_paths = nil - @request = ActionController::TestRequest.new @response = ActionController::TestResponse.new - @controller = TestController.new - # Following is needed in order to setup @controller.template object properly - @controller.send :assign_shortcuts, @request, @response - @controller.send :initialize_template_class, @response - @paths = TestController.view_paths end |