Rename a spy's callReturn and callThrow
.and.callReturn is now .and.returnValue .and.callThrow is now .and.throwError [finishes #56281634]
This commit is contained in:
@@ -90,7 +90,7 @@ describe("ConsoleReporter", function() {
|
||||
reporter.jasmineStarted();
|
||||
reporter.specDone({status: "passed"});
|
||||
|
||||
timerSpy.elapsed.and.callReturn(1000);
|
||||
timerSpy.elapsed.and.returnValue(1000);
|
||||
|
||||
out.clear();
|
||||
reporter.jasmineDone();
|
||||
@@ -127,7 +127,7 @@ describe("ConsoleReporter", function() {
|
||||
|
||||
out.clear();
|
||||
|
||||
timerSpy.elapsed.and.callReturn(100);
|
||||
timerSpy.elapsed.and.returnValue(100);
|
||||
|
||||
reporter.jasmineDone();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user