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