Rails3: test: replace deprecated errors.on at test_should_not_set_a_disabled_tracker of unit/issue_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7604 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-10-07 12:23:37 +00:00
parent d3fa89b42c
commit 51d647ecb7
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ class IssueTest < ActiveSupport::TestCase
issue.tracker_id = 2
issue.subject = 'New subject'
assert !issue.save
assert_not_nil issue.errors.on(:tracker_id)
assert_not_nil issue.errors[:tracker_id]
end
def test_category_based_assignment