Skip to content

Commit 88076ed

Browse files
committed
camel case
Signed-off-by: Fabio José <[email protected]>
1 parent 409be30 commit 88076ed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/cloudevent_spec_0_2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const contenttype = "application/json";
99
const data = {};
1010
const extensions = {};
1111

12-
var cloudevent = new Cloudevent(Cloudevent.specs['0.2'])
12+
var cloudevent = new Cloudevent(Cloudevent.specs["0.2"])
1313
.type(type)
1414
.source(source);
1515

test/http_binding_0_1.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ var httpcfg = {
1616
url : webhook + "/json"
1717
};
1818

19-
var httpstructured_0_1 =
19+
var httpstructured01 =
2020
new Cloudevent.bindings["http-structured0.1"](httpcfg);
2121

2222
describe("HTTP Transport Binding - Version 0.1", () => {
@@ -30,15 +30,15 @@ describe("HTTP Transport Binding - Version 0.1", () => {
3030
describe("Structured", () => {
3131
describe("JSON Format", () => {
3232
it("requires '" + contentType + "' Content-Type in header", () => {
33-
return httpstructured_0_1.emit(cloudevent)
33+
return httpstructured01.emit(cloudevent)
3434
.then(response => {
3535
expect(response.config.headers["Content-Type"])
3636
.to.equal(contentType);
3737
});
3838
});
3939

4040
it("the request should be correct", () => {
41-
return httpstructured_0_1.emit(cloudevent)
41+
return httpstructured01.emit(cloudevent)
4242
.then(response => {
4343
expect(JSON.parse(response.config.data))
4444
.to.deep.equal(cloudevent.format());

0 commit comments

Comments
 (0)