@@ -290,7 +290,7 class ProjectsControllerTest < ActionController::TestCase | |||||
290 | assert_response :success |
|
290 | assert_response :success | |
291 | project = assigns(:project) |
|
291 | project = assigns(:project) | |
292 | assert_kind_of Project, project |
|
292 | assert_kind_of Project, project | |
293 |
assert_not_nil project.errors |
|
293 | assert_not_nil project.errors[:parent_id] | |
294 | end |
|
294 | end | |
295 | end |
|
295 | end | |
296 | end |
|
296 | end |
General Comments 0
You need to be logged in to leave comments.
Login now