diff options
Diffstat (limited to 'test/unit/repository_test.rb')
-rw-r--r-- | test/unit/repository_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/repository_test.rb b/test/unit/repository_test.rb index 859fafc85..9d31f0048 100644 --- a/test/unit/repository_test.rb +++ b/test/unit/repository_test.rb @@ -176,7 +176,7 @@ class RepositoryTest < ActiveSupport::TestCase assert_not_nil mail assert mail.subject.starts_with?( "[#{fixed_issue.project.name} - #{fixed_issue.tracker.name} ##{fixed_issue.id}]") - assert mail.body.to_s.include?( + assert mail.body.include?( "Status changed from #{old_status} to #{fixed_issue.status}") # ignoring commits referencing an issue of another project |