Skip to content
Browse files

Eliminate uninitialized instance variable warning

  • Loading branch information...
1 parent 0a587ee commit 72c7aec7927f635bdec239535422689e11b5ae74 @wycats wycats committed May 22, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/test/template/streaming_render_test.rb
View
4 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)
+end if defined?(Fiber)

0 comments on commit 72c7aec

Please sign in to comment.
Something went wrong with that request. Please try again.