rename afterAllException to afterAllError

It should also handle expectation failures
This commit is contained in:
Gregg Van Hove
2014-04-18 16:00:02 -07:00
parent 668846147c
commit 0d4b04d37c
8 changed files with 17 additions and 17 deletions

View File

@@ -130,7 +130,7 @@ describe("New HtmlReporter", function() {
});
});
describe("when there are afterAllExceptions", function () {
describe("when there are afterAllErrors", function () {
it("displays the exceptions in their own alert bars", function(){
var env = new j$.Env(),
container = document.createElement("div"),
@@ -147,8 +147,8 @@ describe("New HtmlReporter", function() {
reporter.initialize();
reporter.jasmineStarted({});
reporter.afterAllException(error);
reporter.afterAllException(otherError);
reporter.afterAllError(error);
reporter.afterAllError(otherError);
reporter.jasmineDone({});
var alertBars = container.querySelectorAll(".alert .bar");