diff --git a/test/progress-bar.js b/test/progress-bar.js index d98eecf..24b1ea8 100644 --- a/test/progress-bar.js +++ b/test/progress-bar.js @@ -5,27 +5,27 @@ var path = require("path"); describe("Progress bars", function() { it("should generate a generic progress bar",function() { var fn = pug.compileFile(path.join(__dirname,"fixtures/progress-bar","progress-bar.pug")); - assert.equal('
60% Complete
',fn({value: 60,type: "primary" })); + assert.equal('
60% Complete
',fn({value: 60,type: "primary" })); }); it("should generate a primary progress bar",function() { var fn = pug.compileFile(path.join(__dirname,"fixtures/progress-bar","progress-bar-primary.pug")); - assert.equal('
60% Complete
',fn({value: 60 })); + assert.equal('
60% Complete
',fn({value: 60 })); }); it("should generate a info progress bar",function() { var fn = pug.compileFile(path.join(__dirname,"fixtures/progress-bar","progress-bar-info.pug")); - assert.equal('
60% Complete
',fn({value: 60 })); + assert.equal('
60% Complete
',fn({value: 60 })); }); it("should generate a warning progress bar",function() { var fn = pug.compileFile(path.join(__dirname,"fixtures/progress-bar","progress-bar-warning.pug")); - assert.equal('
60% Complete
',fn({value: 60 })); + assert.equal('
60% Complete
',fn({value: 60 })); }); it("should generate a danger progress bar",function() { var fn = pug.compileFile(path.join(__dirname,"fixtures/progress-bar","progress-bar-danger.pug")); - assert.equal('
60% Complete
',fn({value: 60 })); + assert.equal('
60% Complete
',fn({value: 60 })); }); it("should generate a success progress bar",function() { var fn = pug.compileFile(path.join(__dirname,"fixtures/progress-bar","progress-bar-success.pug")); - assert.equal('
60% Complete
',fn({value: 60})); + assert.equal('
60% Complete
',fn({value: 60})); }); });