aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/caching_test.rb
diff options
context:
space:
mode:
authorCarlhuda <carlhuda@engineyard.com>2010-02-25 17:56:58 -0800
committerCarlhuda <carlhuda@engineyard.com>2010-02-25 17:56:58 -0800
commitf863045c45fbbe5972f557c02b729441ffe81502 (patch)
tree801be7cffc8d88ff215b72202bb7830233c5652c /actionpack/test/controller/caching_test.rb
parent8760add31a0415b4635059cf7fadabc26946c0c2 (diff)
downloadrails-f863045c45fbbe5972f557c02b729441ffe81502.tar.gz
rails-f863045c45fbbe5972f557c02b729441ffe81502.tar.bz2
rails-f863045c45fbbe5972f557c02b729441ffe81502.zip
Rename metaclass to singleton_class
Diffstat (limited to 'actionpack/test/controller/caching_test.rb')
-rw-r--r--actionpack/test/controller/caching_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/caching_test.rb b/actionpack/test/controller/caching_test.rb
index 9c9d886f5d..98cea945a7 100644
--- a/actionpack/test/controller/caching_test.rb
+++ b/actionpack/test/controller/caching_test.rb
@@ -512,7 +512,7 @@ class ActionCacheTest < ActionController::TestCase
@response = ActionController::TestResponse.new
@controller = ActionCachingTestController.new
# ROUTES TODO: It seems bad to explicitly remix in the class
- @controller.metaclass.send(:include, @router.named_url_helpers)
+ @controller.singleton_class.send(:include, @router.named_url_helpers)
@request.host = 'hostname.com'
end