Skip to content
This repository
Browse code

Fix test (closes #9120) [hasmanyjosh]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7638 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit a4e1b79b079d5d9e2c36adb2bbed0c9e6599c8fc 1 parent f65c202
David Heinemeier Hansson authored September 25, 2007
2  railties/lib/rails_generator/generators/components/scaffold/templates/functional_test.rb
@@ -16,7 +16,7 @@ def setup
16 16
   def test_should_get_index
17 17
     get :index
18 18
     assert_response :success
19  
-    assert assigns(:<%= table_name %>)
  19
+    assert_not_nil assigns(:<%= table_name %>)
20 20
   end
21 21
 
22 22
   def test_should_get_new

0 notes on commit a4e1b79

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