Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vodkabears committed Mar 16, 2015
1 parent f0c34d0 commit 809bc9a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/spec/interdimensional.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
describe('Interdimensional', function() {
it('should exist', function() {
expect(Interdimensional).to.exist();
expect(Interdimensional).to.exist;
});

describe('#charge', function() {
Expand Down Expand Up @@ -32,7 +32,7 @@ describe('Interdimensional', function() {
it('should be charged', function(done) {
document.addEventListener('interdimensional:charge', function handleCharge() {
document.removeEventListener('interdimensional:charge', handleCharge, false);
expect(document.querySelector('.interdimensional-control')).not.to.be.null();
expect(document.querySelector('.interdimensional-control')).not.to.be.null;
done();
}, false);

Expand All @@ -42,7 +42,7 @@ describe('Interdimensional', function() {
it('should be charged with settings', function(done) {
document.addEventListener('interdimensional:charge', function handleCharge() {
document.removeEventListener('interdimensional:charge', handleCharge, false);
expect(document.querySelector('.interdimensional-control')).to.be.null();
expect(document.querySelector('.interdimensional-control')).to.be.null;
done();
}, false);

Expand Down Expand Up @@ -88,7 +88,7 @@ describe('Interdimensional', function() {
.querySelector('.interdimensional-control')
.classList
.contains('interdimensional-control-is-active')
).to.be.true();
).to.be.true;

done();
}, false);
Expand Down Expand Up @@ -138,7 +138,7 @@ describe('Interdimensional', function() {
.querySelector('.interdimensional-control')
.classList
.contains('interdimensional-control-is-active')
).to.be.false();
).to.be.false;

done();
}, false);
Expand Down Expand Up @@ -198,7 +198,7 @@ describe('Interdimensional', function() {
it('should be discharged', function(done) {
document.addEventListener('interdimensional:discharge', function handleDischarge() {
document.removeEventListener('interdimensional:discharge', handleDischarge, false);
expect(document.querySelector('.interdimensional-control')).to.be.null();
expect(document.querySelector('.interdimensional-control')).to.be.null;
done();
}, false);

Expand Down

0 comments on commit 809bc9a

Please sign in to comment.