diff --git a/docs/outbound.token-authenticated.md b/docs/outbound.token_authenticated.md similarity index 100% rename from docs/outbound.token-authenticated.md rename to docs/outbound.token_authenticated.md diff --git a/package.json b/package.json index 295b493..38a7838 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "vuex": "^3.6.2" }, "devDependencies": { - "@activeprospect/integration-dev-dependencies": "^1.1.3" + "@activeprospect/integration-dev-dependencies": "^1.1.3", + "leadconduit-integration": "^0.6.1" } } diff --git a/test/json-spec.js b/test/json-spec.js index df8b63b..80755e9 100644 --- a/test/json-spec.js +++ b/test/json-spec.js @@ -22,7 +22,6 @@ describe('Outbound JSON request', function() { assert.equal(integration.request(vars).body, '{"fname":"Mel","lname":"Gibson"}'); return assert.deepEqual(integration.request(vars).headers, { 'Content-Type': 'application/json; charset=utf-8', - 'Content-Length': 32, 'Accept': 'application/json;q=0.9,text/xml;q=0.8,application/xml;q=0.7,text/html;q=0.6,text/plain;q=0.5', 'Whatever': 'foo', 'Bar': 'baz' @@ -63,7 +62,6 @@ describe('Outbound JSON request', function() { }; return assert.deepEqual(integration.request(vars).headers, { 'Content-Type': 'application/json', - 'Content-Length': 2, 'Accept': 'application/json;q=0.9,text/xml;q=0.8,application/xml;q=0.7,text/html;q=0.6,text/plain;q=0.5' }); });