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: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7611 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
0f189ec010
commit
e911d46aa8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue