Commit 4fcc4a3e authored by tmaruyama's avatar tmaruyama

Rails3: test: replace deprecated errors.on at test_validate_identifier of unit/project_test.rb

git-svn-id: https://svn.redmine.org/redmine/trunk@7596 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 436de649
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment