##// END OF EJS Templates
Rails3: test: replace deprecated errors.on at test_validate_identifier of unit/project_test.rb...
Toshi MARUYAMA -
r7476:ac19421a261f
parent child
Show More
@@ -119,7 +119,7 class ProjectTest < ActiveSupport::TestCase
119 p = Project.new
119 p = Project.new
120 p.identifier = identifier
120 p.identifier = identifier
121 p.valid?
121 p.valid?
122 assert_equal valid, p.errors.on('identifier').nil?
122 assert_equal valid, p.errors['identifier'].nil?
123 end
123 end
124 end
124 end
125
125
General Comments 0
You need to be logged in to leave comments. Login now