]> source.dussan.org Git - redmine.git/commit
Rails3: test: replace deprecated Errors#on to Errors#[] and join with to_s at test...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 9 Dec 2011 07:16:59 +0000 (07:16 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 9 Dec 2011 07:16:59 +0000 (07:16 +0000)
commit2afe5bdf5730023355c22825b16e6f6d788d377b
treeced40e44120240cc915f55af87922c42dae3f4f7
parent85382514f940476184456f660effb5c28cc2cf7a
Rails3: test: replace deprecated Errors#on to Errors#[] and join with to_s at test/unit/custom_field_test.rb

On Rails2, Errors#[] returns single error if one error raises.
But, on Rails3, Errors#[] always returns the array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8139 e93f8b46-1217-0410-a6f0-8f06a7374b81
test/unit/custom_field_test.rb