@@ -64,6 +64,7 class MailHandlerTest < ActiveSupport::TestCase | |||
|
64 | 64 | assert_equal Version.find_by_name('alpha'), issue.fixed_version |
|
65 | 65 | assert_equal 2.5, issue.estimated_hours |
|
66 | 66 | assert_equal 30, issue.done_ratio |
|
67 | assert_equal [issue.id, 1, 2], [issue.root_id, issue.lft, issue.rgt] | |
|
67 | 68 | # keywords should be removed from the email body |
|
68 | 69 | assert !issue.description.match(/^Project:/i) |
|
69 | 70 | assert !issue.description.match(/^Status:/i) |
@@ -201,6 +202,7 class MailHandlerTest < ActiveSupport::TestCase | |||
|
201 | 202 | assert issue.is_a?(Issue) |
|
202 | 203 | assert issue.author.anonymous? |
|
203 | 204 | assert !issue.project.is_public? |
|
205 | assert_equal [issue.id, 1, 2], [issue.root_id, issue.lft, issue.rgt] | |
|
204 | 206 | end |
|
205 | 207 | end |
|
206 | 208 | end |
General Comments 0
You need to be logged in to leave comments.
Login now