Fix the unit tests from the diff viewer work.

Review Request #7160 — Created April 2, 2015 and submitted — Latest diff uploaded

Information

Review Board
release-2.0.x
9e3aa67...

Reviewers

My fixes for the diff viewer work never made it in, and I lost them.
Several tests were broken due to either not accepting the new request
parameter in a function spy, or not calling the render function to test
the code that moved into there.

This fixes all the remaining unit tests.

Unit tests pass.