Commit fbb03cc0 authored by tmaruyama's avatar tmaruyama
Browse files

Rails3: test: replace deprecated errors.on at...

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

git-svn-id: https://svn.redmine.org/redmine/trunk@7604 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent ba0a2fbc
......@@ -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
......
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