| Index: chrome/test/data/webui/print_preview.js
|
| ===================================================================
|
| --- chrome/test/data/webui/print_preview.js (revision 110039)
|
| +++ chrome/test/data/webui/print_preview.js (working copy)
|
| @@ -26,7 +26,7 @@
|
| * @override
|
| */
|
| preLoad: function() {
|
| - this.makeAndRegisterMockHandler(['getInitialSettings',
|
| + this.makeAndRegisterMockHandler(['getDefaultPrinter',
|
| 'getPrinters',
|
| 'getPreview',
|
| 'print',
|
| @@ -45,7 +45,7 @@
|
|
|
| // Register stubs for methods expected to be called before tests
|
| // run. Specific expectations can be made in the tests themselves.
|
| - this.mockHandler.stubs().getInitialSettings().
|
| + this.mockHandler.stubs().getDefaultPrinter().
|
| will(callFunction(function() {
|
| setDefaultPrinter('FooDevice');
|
| }));
|
|
|