mirror of
https://github.com/github/rails.git
synced 2026-01-30 16:58:15 -05:00
Fix test (closes #9120) [hasmanyjosh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7638 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user