Skip to content

Commit

Permalink
Fix test indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeoneWeird committed Jan 23, 2016
1 parent 3ac58af commit ce4904d
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions test-src/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,29 +28,29 @@ describe("Service", function() {

describe("creation", function() {

it("should allow passing no transport", function() {
it("should allow passing no transport", function() {

let service = new Service();
let service = new Service();

assert.equal(service._servers.length, 0);
assert.equal(service._servers.length, 0);

});
});

it("should allow passing in just config", function() {
it("should allow passing in just config", function() {

let service = new Service(_data);
let service = new Service(_data);

assert.deepEqual(service.config, _data);
assert.equal(service._servers.length, 0);
assert.deepEqual(service.config, _data);
assert.equal(service._servers.length, 0);

});
});

it("should not require new keyword for creation", function() {
it("should not require new keyword for creation", function() {

let service = Service();
let service = Service();

assert.equal(service instanceof Service, true);
assert.equal(service._servers.length, 0);
assert.equal(service instanceof Service, true);
assert.equal(service._servers.length, 0);

});

Expand Down

0 comments on commit ce4904d

Please sign in to comment.