aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorYehuda Katz <wycats@gmail.com>2009-08-06 19:45:40 -0300
committerYehuda Katz <wycats@gmail.com>2009-08-06 19:45:40 -0300
commitaf375a5eb3aba149590be1636480e1c3976c124f (patch)
tree250d682085fe30291a47ee38cf19e6ddca7b68f3 /actionpack/test
parentf0945409d935cdd3cb783a728d68414e7ca02dfc (diff)
downloadrails-af375a5eb3aba149590be1636480e1c3976c124f.tar.gz
rails-af375a5eb3aba149590be1636480e1c3976c124f.tar.bz2
rails-af375a5eb3aba149590be1636480e1c3976c124f.zip
Replace _action_view with view_context to reflect that it is public and that it does not need to be an ActionView instance
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/abstract_unit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb
index 6e71b85645..7f373ea7c5 100644
--- a/actionpack/test/abstract_unit.rb
+++ b/actionpack/test/abstract_unit.rb
@@ -78,7 +78,7 @@ module ActionController
def assert_template(options = {}, message = nil)
validate_request!
- hax = @controller._action_view.instance_variable_get(:@_rendered)
+ hax = @controller.view_context.instance_variable_get(:@_rendered)
case options
when NilClass, String