Skip to content

Commit 204e0a1

Browse files
committed
Fixed spec that wasn't verifying what it meant to
1 parent 7e72bef commit 204e0a1

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

spec/reporters/console_reporter_spec.js

+2-8
Original file line numberDiff line numberDiff line change
@@ -482,13 +482,7 @@ describe("ConsoleReporter", function() {
482482
status: "failed",
483483
description: "with a failing spec",
484484
fullName: "A suite with a failing spec that has both passed and failing expectations",
485-
failedExpectations: [{
486-
passed: false,
487-
message: "Expected true to be false.",
488-
expected: false,
489-
actual: true,
490-
stack: undefined
491-
}],
485+
failedExpectations: [],
492486
passedExpectations: [{
493487
passed: true,
494488
message: "Expected true to be true.",
@@ -502,7 +496,7 @@ describe("ConsoleReporter", function() {
502496
reporter.jasmineDone();
503497

504498
expect(this.out.getOutput()).not.toContain("Spec has no expectations");
505-
});
499+
});
506500

507501
it("displays all afterAll exceptions", function() {
508502
var reporter = new ConsoleReporter();

0 commit comments

Comments
 (0)