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
This commit is contained in:
Toshi MARUYAMA 2011-10-07 04:18:18 +00:00
parent 2d8ecebf9c
commit ac19421a26
1 changed files with 1 additions and 1 deletions

View File

@ -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