diff options
author | Yehuda Katz <wycats@gmail.com> | 2009-08-06 19:45:40 -0300 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-08-06 19:45:40 -0300 |
commit | af375a5eb3aba149590be1636480e1c3976c124f (patch) | |
tree | 250d682085fe30291a47ee38cf19e6ddca7b68f3 /actionpack/test | |
parent | f0945409d935cdd3cb783a728d68414e7ca02dfc (diff) | |
download | rails-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.rb | 2 |
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 |