From ac19421a261fbc59d627a591a0d4dd6c02fec2fd Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 7 Oct 2011 04:18:18 +0000 Subject: [PATCH] Rails3: test: replace deprecated errors.on at test_validate_identifier of unit/project_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7596 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/project_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/project_test.rb b/test/unit/project_test.rb index dcc4da356..20f34e266 100644 --- a/test/unit/project_test.rb +++ b/test/unit/project_test.rb @@ -119,7 +119,7 @@ class ProjectTest < ActiveSupport::TestCase p = Project.new p.identifier = identifier p.valid? - assert_equal valid, p.errors.on('identifier').nil? + assert_equal valid, p.errors['identifier'].nil? end end