From 72c7aec7927f635bdec239535422689e11b5ae74 Mon Sep 17 00:00:00 2001 From: wycats Date: Sun, 22 May 2011 23:39:51 -0700 Subject: [PATCH] Eliminate uninitialized instance variable warning --- actionpack/test/template/streaming_render_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actionpack/test/template/streaming_render_test.rb b/actionpack/test/template/streaming_render_test.rb index b2df8efee3..023ce723ed 100644 --- a/actionpack/test/template/streaming_render_test.rb +++ b/actionpack/test/template/streaming_render_test.rb @@ -8,7 +8,7 @@ class TestController < ActionController::Base class FiberedTest < ActiveSupport::TestCase def setup view_paths = ActionController::Base.view_paths - @assigns = { :secret => 'in the sauce' } + @assigns = { :secret => 'in the sauce', :name => nil } @view = ActionView::Base.new(view_paths, @assigns) @controller_view = TestController.new.view_context end @@ -106,4 +106,4 @@ def test_render_with_nested_streaming_multiple_yields_provide_and_content_for buffered_render(:template => "test/nested_streaming", :layout => "layouts/streaming") end -end if defined?(Fiber) \ No newline at end of file +end if defined?(Fiber) -- GitLab