Skip to content

Commit

Permalink
Fix (headers-spec.js): Added forgotten done()
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres committed Mar 8, 2016
1 parent 0d5c1e5 commit 21af5e2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/spec/w3c/headers-spec.js
@@ -1,5 +1,5 @@
"use strict";
describe("W3C — Headers", function() {
fdescribe("W3C — Headers", function() {
afterEach(function(done) {
flushIframes();
done();
Expand Down Expand Up @@ -789,7 +789,7 @@ describe("W3C — Headers", function() {
}, simpleSpecURL).then(done);
});

it("should state that the spec is destined to become a note", function() {
it("should state that the spec is destined to become a note", function(done) {
var ops = makeStandardOps();
var newProps = {
noRecTrack: true,
Expand All @@ -799,9 +799,9 @@ describe("W3C — Headers", function() {
Object.assign(ops.config, newProps);
makeRSDoc(ops, function(doc) {
var sotdText = doc.getElementById("sotd").textContent;
var expectedString = "It is expected to become a W3C Note.";
expect(sotdText).to.include(expectedString);
});
var expectedString = /It is expected to become a W3C Note/;
expect(sotdText).toMatch(expectedString);
}).then(done);
});

});

0 comments on commit 21af5e2

Please sign in to comment.