diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-25 19:06:24 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-25 19:06:24 +0000 |
commit | a4e1b79b079d5d9e2c36adb2bbed0c9e6599c8fc (patch) | |
tree | 1c10cc85c34e29798b9a2cca89186c874adbed63 /railties/lib | |
parent | f65c20241608a716a024b58ed95bd82b0adad588 (diff) | |
download | rails-a4e1b79b079d5d9e2c36adb2bbed0c9e6599c8fc.tar.gz rails-a4e1b79b079d5d9e2c36adb2bbed0c9e6599c8fc.tar.bz2 rails-a4e1b79b079d5d9e2c36adb2bbed0c9e6599c8fc.zip |
Fix test (closes #9120) [hasmanyjosh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7638 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails_generator/generators/components/scaffold/templates/functional_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails_generator/generators/components/scaffold/templates/functional_test.rb b/railties/lib/rails_generator/generators/components/scaffold/templates/functional_test.rb index 15c61f1ddb..825bca412a 100644 --- a/railties/lib/rails_generator/generators/components/scaffold/templates/functional_test.rb +++ b/railties/lib/rails_generator/generators/components/scaffold/templates/functional_test.rb @@ -16,7 +16,7 @@ class <%= controller_class_name %>ControllerTest < Test::Unit::TestCase def test_should_get_index get :index assert_response :success - assert assigns(:<%= table_name %>) + assert_not_nil assigns(:<%= table_name %>) end def test_should_get_new |