mirror of
https://github.com/redmine/redmine.git
synced 2026-05-05 22:36:04 +02:00
Fixed: Issue status in the notify email's subject is the issue's old status, should be its new status (#3194).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2673 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -696,6 +696,8 @@ class IssuesControllerTest < Test::Unit::TestCase
|
||||
|
||||
mail = ActionMailer::Base.deliveries.last
|
||||
assert mail.body.include?("Status changed from New to Assigned")
|
||||
# subject should contain the new status
|
||||
assert mail.subject.include?("(#{ IssueStatus.find(2).name })")
|
||||
end
|
||||
|
||||
def test_post_edit_with_note_only
|
||||
|
||||
Reference in New Issue
Block a user