Deshani wants to merge 3 commits from /u/deshani/allura/ to master, 2018-05-09
[#1699] Fix incoming email for wiki pages with space in the title. Spaces in the title are replaced with underscore. Adds test functionality for handle_message method, which is responsible for handling inbound emais for wiki.
Hi Deshani,
I see that
find_page
is modelled afterupsert
. It doesn't use theversion
parameter, so it could be simplified quite a bit, removing theelse:
portion entirely.Otherwise this looks great. Nice job getting a good test in place too!
Hi Dave,
Thanks for the feedback. I've modified the method accordingly.