浏览代码

Fix still failing test

Gaël Métais 8 年之前
父节点
当前提交
9d2d99b5ba
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/api/apiTest.js

+ 1 - 1
test/api/apiTest.js

@@ -660,7 +660,7 @@ describe('api', function() {
 
         request({
             method: 'GET',
-            url: serverUrl + screenshotUrl
+            url: serverUrl + '/' + screenshotUrl
         }, function(error, response, body) {
             if (!error && response.statusCode === 200) {
                 response.headers['content-type'].should.equal('image/jpeg');