Permalink
Browse files

_assigns can have more internal vars in this test

  • Loading branch information...
1 parent e99c894 commit e5da873db15acb513ce062f351b522cb7c480902 @spastorino spastorino committed Oct 4, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 actionpack/test/template/test_case_test.rb
@@ -120,7 +120,8 @@ class AssignsTest < ActionView::TestCase
test "_assigns returns a Hash of local ivars" do
@a = 'b'
@c = 'd'
- assert_equal({:a => 'b', :c => 'd'}, _assigns)
+ assert_equal 'b', _assigns[:a]
+ assert_equal 'd', _assigns[:c]
end
end

0 comments on commit e5da873

Please sign in to comment.