aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
authorJamis Buck <jamis@37signals.com>2005-05-30 07:20:37 +0000
committerJamis Buck <jamis@37signals.com>2005-05-30 07:20:37 +0000
commit00db6f0faae6d53b7190981561beb6da0450359b (patch)
tree8428ee63213a011a077f9e49c1577c3e07f41cbc /actionpack/test/controller
parentb6c13f2d70eaa02f264281f34b518b4e9a6d41c6 (diff)
downloadrails-00db6f0faae6d53b7190981561beb6da0450359b.tar.gz
rails-00db6f0faae6d53b7190981561beb6da0450359b.tar.bz2
rails-00db6f0faae6d53b7190981561beb6da0450359b.zip
render(:partial => "...") uses an empty hash for the local assigns #1365. render(:partial => true) is identical to the older render_partial()
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1366 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/new_render_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/new_render_test.rb b/actionpack/test/controller/new_render_test.rb
index 428b7dc73b..ad1415aca3 100644
--- a/actionpack/test/controller/new_render_test.rb
+++ b/actionpack/test/controller/new_render_test.rb
@@ -72,7 +72,7 @@ class TestController < ActionController::Base
end
def partial_only
- render_partial
+ render :partial => true
end
def hello_in_a_string
@@ -238,4 +238,4 @@ class RenderTest < Test::Unit::TestCase
def process_request
TestController.process(@request, @response)
end
-end \ No newline at end of file
+end