Expose fit and fdescribe in boot.js

* adds done() callbacks to existing specs (because we forgot, whoops!)

[Finishes #73742944]
This commit is contained in:
Greg Cobb and Tim Jarratt
2014-08-28 16:37:37 -07:00
parent 9afae3d978
commit 14824b5f9e
3 changed files with 18 additions and 2 deletions
+8
View File
@@ -63,6 +63,10 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
return env.xdescribe(description, specDefinitions);
},
fdescribe: function(description, specDefinitions) {
return env.fdescribe(description, specDefinitions);
},
it: function(desc, func) {
return env.it(desc, func);
},
@@ -71,6 +75,10 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
return env.xit(desc, func);
},
fit: function(desc, func) {
return env.fit(desc, func);
},
beforeEach: function(beforeEachFunction) {
return env.beforeEach(beforeEachFunction);
},
+8
View File
@@ -41,6 +41,10 @@
return env.xdescribe(description, specDefinitions);
},
fdescribe: function(description, specDefinitions) {
return env.fdescribe(description, specDefinitions);
},
it: function(desc, func) {
return env.it(desc, func);
},
@@ -49,6 +53,10 @@
return env.xit(desc, func);
},
fit: function(desc, func) {
return env.fit(desc, func);
},
beforeEach: function(beforeEachFunction) {
return env.beforeEach(beforeEachFunction);
},
+2 -2
View File
@@ -367,7 +367,7 @@ describe("jasmine spec running", function () {
});
describe('focused runnables', function() {
it('runs the relevant alls and eachs for each runnable', function() {
it('runs the relevant alls and eachs for each runnable', function(done) {
var actions = [];
env.beforeAll(function() {actions.push('beforeAll')});
env.afterAll(function() {actions.push('afterAll')});
@@ -408,7 +408,7 @@ describe("jasmine spec running", function () {
env.execute();
});
it('runs fits in fdescribes twice', function(){
it('runs fits in fdescribes twice', function(done){
var actions = [];
env.fdescribe('focused suite', function() {