@@ -273,7 +273,7 class ProjectsControllerTest < ActionController::TestCase | |||
|
273 | 273 | assert_response :success |
|
274 | 274 | project = assigns(:project) |
|
275 | 275 | assert_kind_of Project, project |
|
276 |
assert_not_nil project.errors |
|
|
276 | assert_not_nil project.errors[:parent_id] | |
|
277 | 277 | end |
|
278 | 278 | |
|
279 | 279 | should "fail with unauthorized parent_id" do |
General Comments 0
You need to be logged in to leave comments.
Login now