@@ -238,7 +238,7 class ProjectsControllerTest < ActionController::TestCase | |||||
238 | assert_response :success |
|
238 | assert_response :success | |
239 | project = assigns(:project) |
|
239 | project = assigns(:project) | |
240 | assert_kind_of Project, project |
|
240 | assert_kind_of Project, project | |
241 |
assert_not_nil project.errors |
|
241 | assert_not_nil project.errors[:parent_id] | |
242 | end |
|
242 | end | |
243 | end |
|
243 | end | |
244 |
|
244 |
General Comments 0
You need to be logged in to leave comments.
Login now