fix reported image url. Qiu

This commit is contained in:
Wang Qiu
2013-08-03 20:18:00 +08:00
parent 08a3717f6b
commit a4a4a8fd94
2 changed files with 2 additions and 2 deletions

View File

@@ -108,7 +108,7 @@ module.exports =
'it should generate file-based json file': (test) ->
ImageGenerator.generate @reporterObj
parsedCompares = JSON.parse @writeFileSync.lastCall.args[1]
test.equals parsedCompares.compares.firefox['/404.html?a=1'].images.build, 'viff/screenshots/firefox/%2F404.html%3Fa%3D1/build.png'
test.equals parsedCompares.compares.firefox['/404.html?a=1'].images.build, 'screenshots/firefox/%2F404.html%3Fa%3D1/build.png'
test.done()