assert_equal Version.find_by_name('alpha'), issue.fixed_version
assert_equal 2.5, issue.estimated_hours
assert_equal 30, issue.done_ratio
+ assert_equal [issue.id, 1, 2], [issue.root_id, issue.lft, issue.rgt]
# keywords should be removed from the email body
assert !issue.description.match(/^Project:/i)
assert !issue.description.match(/^Status:/i)
assert issue.is_a?(Issue)
assert issue.author.anonymous?
assert !issue.project.is_public?
+ assert_equal [issue.id, 1, 2], [issue.root_id, issue.lft, issue.rgt]
end
end
end