aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/new_render_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller/new_render_test.rb')
-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 6d2aa2cd2d..da8b2b2a46 100644
--- a/actionpack/test/controller/new_render_test.rb
+++ b/actionpack/test/controller/new_render_test.rb
@@ -91,7 +91,7 @@ class NewRenderTestController < ActionController::Base
end
def partial_collection_with_locals
- render :partial => "customer", :collection => [ Customer.new("david"), Customer.new("mary") ], :locals => { :extra => ", fun!" }
+ render :partial => "customer_greeting", :collection => [ Customer.new("david"), Customer.new("mary") ], :locals => { :greeting => "Bonjour" }
end
def hello_in_a_string
@@ -340,6 +340,6 @@ class NewRenderTest < Test::Unit::TestCase
def test_partial_collection_with_locals
get :partial_collection_with_locals
- assert_equal "Hello: david, fun!Hello: mary, fun!", @response.body
+ assert_equal "Bonjour: davidBonjour: mary", @response.body
end
end \ No newline at end of file