Fix tests to check config from base rest.wrap

This commit is contained in:
Wim
2014-12-18 13:32:47 +13:00
parent 0d595e843d
commit 3ec86215aa
+1 -1
View File
@@ -15,7 +15,7 @@ client({ path: '/data.json' }).then(function(response) {
console.log('response: ', response);
});
client = rest.wrap(mime).wrap(errorCode, { code: 500 });
client = rest.wrap(mime, { mime: 'application/json' }).wrap(errorCode, { code: 500 });
client({ path: '/data.json' }).then(
function(response) {
console.log('response: ', response);