Update clock not installed message to reflect current boot installation process

This commit is contained in:
Sheel Choksi
2013-10-29 17:33:51 -07:00
parent cb5aea1fcf
commit 8585ef69a5
2 changed files with 2 additions and 2 deletions

View File

@@ -932,7 +932,7 @@ getJasmineRequireObj().Clock = function() {
if (installed) {
delayedFunctionScheduler.tick(millis);
} else {
throw new Error("Mock clock is not installed, use jasmine.getEnv().clock.install()");
throw new Error("Mock clock is not installed, use jasmine.clock().install()");
}
};

View File

@@ -61,7 +61,7 @@ getJasmineRequireObj().Clock = function() {
if (installed) {
delayedFunctionScheduler.tick(millis);
} else {
throw new Error("Mock clock is not installed, use jasmine.getEnv().clock.install()");
throw new Error("Mock clock is not installed, use jasmine.clock().install()");
}
};