aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorwycats <wycats@gmail.com>2011-05-22 23:39:51 -0700
committerwycats <wycats@gmail.com>2011-05-22 23:39:51 -0700
commit72c7aec7927f635bdec239535422689e11b5ae74 (patch)
treeb74af7e720b8459331d8bccfb6272fa91e46c18d /actionpack/test
parent0a587eecc9a1c6f711c727694af3467fd33b4914 (diff)
downloadrails-72c7aec7927f635bdec239535422689e11b5ae74.tar.gz
rails-72c7aec7927f635bdec239535422689e11b5ae74.tar.bz2
rails-72c7aec7927f635bdec239535422689e11b5ae74.zip
Eliminate uninitialized instance variable warning
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/template/streaming_render_test.rb4
1 files 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 @@ end
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 @@ class FiberedTest < ActiveSupport::TestCase
buffered_render(:template => "test/nested_streaming", :layout => "layouts/streaming")
end
-end if defined?(Fiber) \ No newline at end of file
+end if defined?(Fiber)