TryGhost/Ghost — pull request #2566 by jaswilli (2014-04-07 00:18:44+00:00)
Title: Build correct path on image upload when config has custom content path

closes #2563
- build path relative to imagesPath (which contains the custom content path)
instead of appRoot
- added test for custom content path
- added logic to tests for Windows url building to handle cases where Windows
functionality is being tested on a unix operating system