diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb index ca9f14c24..86f419f15 100644 --- a/test/functional/projects_controller_test.rb +++ b/test/functional/projects_controller_test.rb @@ -290,7 +290,7 @@ class ProjectsControllerTest < ActionController::TestCase assert_response :success project = assigns(:project) assert_kind_of Project, project - assert_not_nil project.errors.on(:parent_id) + assert_not_nil project.errors[:parent_id] end end end