Skip to content

Commit

Permalink
Merge pull request #161 from thiagobustamante/master
Browse files Browse the repository at this point in the history
fix tests
  • Loading branch information
thiagobustamante committed Jul 29, 2018
2 parents 0bb8b2e + ca80782 commit 11a241d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/proxy.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ describe('The Gateway Proxy', () => {
gatewayRequest('/intercepted/headers', (error: any, response: any, body: any) => {
expect(response.statusCode).to.equal(200);
const result = JSON.parse(body);
expect(result['X-Proxied-2-By']).to.equal('Tree-Gateway');
expect(result.headers['X-Proxied-2-By']).to.equal('Tree-Gateway');
done();
});
});
Expand Down

0 comments on commit 11a241d

Please sign in to comment.