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:
parent
2d8ecebf9c
commit
ac19421a26
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue