Commit fc0d146f authored by tmaruyama's avatar tmaruyama
Browse files

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

Rails3: test: replace deprecated errors.on_base at test_should_not_be_able_to_reopen_an_issue_assigned_to_a_closed_version of unit/issue_test.rb

git-svn-id: https://svn.redmine.org/redmine/trunk@7611 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 19f2fa6f
......@@ -432,7 +432,7 @@ class IssueTest < ActiveSupport::TestCase
issue = Issue.find(11)
issue.status_id = 1
assert !issue.save
assert_not_nil issue.errors.on_base
assert_not_nil issue.errors[:base]
end
def test_should_be_able_to_reopen_and_reassign_an_issue_assigned_to_a_closed_version
......
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