mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Eliminate uninitialized instance variable warning
This commit is contained in:
parent
0a587eecc9
commit
72c7aec792
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue