Skip to content

Commit

Permalink
Merge ac163ac into ce33baa
Browse files Browse the repository at this point in the history
  • Loading branch information
JemiloII committed Feb 22, 2016
2 parents ce33baa + ac163ac commit be16006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/scope.js
Expand Up @@ -322,7 +322,7 @@ function define(nockDefs) {
} else {
nock = startScope(nscope, options);
// If request headers were specified filter by them.
if (reqheaders !== {}) {
if (_.size(reqheaders) > 0) {
for (var k in reqheaders) {
nock.matchHeader(k, reqheaders[k]);
}
Expand Down

0 comments on commit be16006

Please sign in to comment.