aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/test_process.rb
diff options
context:
space:
mode:
authormark <mark@looking-glass.com>2008-12-11 11:06:35 -0600
committerJoshua Peek <josh@joshpeek.com>2008-12-11 11:06:35 -0600
commit49306ccacf01e36d444771d42321965616e226f0 (patch)
treebcd21d1a7e0ee6b6cbd80b1e9d1724b752e47a45 /actionpack/lib/action_controller/test_process.rb
parent5ede4ce188d29aef94af78f27d89169ac4ee54cd (diff)
downloadrails-49306ccacf01e36d444771d42321965616e226f0.tar.gz
rails-49306ccacf01e36d444771d42321965616e226f0.tar.bz2
rails-49306ccacf01e36d444771d42321965616e226f0.zip
Add :partial option to assert_template [#1550 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
Diffstat (limited to 'actionpack/lib/action_controller/test_process.rb')
-rw-r--r--actionpack/lib/action_controller/test_process.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/test_process.rb b/actionpack/lib/action_controller/test_process.rb
index cd3914f011..78dc3827bc 100644
--- a/actionpack/lib/action_controller/test_process.rb
+++ b/actionpack/lib/action_controller/test_process.rb
@@ -221,8 +221,8 @@ module ActionController #:nodoc:
# Returns the template of the file which was used to
# render this response (or nil)
- def rendered_template
- template.instance_variable_get(:@_first_render)
+ def rendered
+ template.instance_variable_get(:@_rendered)
end
# A shortcut to the flash. Returns an empty hash if no session flash exists.