gitlabhq/gitlabhq — pull request #7978 by cirosantilli (2014-10-06 21:39:58+00:00)
Title: Add tests for tree edit routes

Critical because of possible confusion between /:id/preview
and /:id for a path that ends in preview.

The goal it to prevent a bug analogous to: https://github.com/gitlabhq/gitlabhq/pull/7977