diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb index fa35df7de..515b54a88 100644 --- a/test/functional/projects_controller_test.rb +++ b/test/functional/projects_controller_test.rb @@ -238,7 +238,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