diff options
Diffstat (limited to 'test/angular-mocks.js')
| -rw-r--r-- | test/angular-mocks.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/angular-mocks.js b/test/angular-mocks.js index 9c93f87f..e10ad4e2 100644 --- a/test/angular-mocks.js +++ b/test/angular-mocks.js @@ -8,7 +8,7 @@ function MockBrowser() { var expect = expectations[method] || {}; var response = expect[url]; if (!response) { - throw "Unexepected request for mothod '" + method + "' and url '" + url + "'."; + throw "Unexepected request for method '" + method + "' and url '" + url + "'."; } requests.push(function(){ callback(200, response); @@ -32,6 +32,9 @@ function MockBrowser() { } MockBrowser.prototype = { + hover: function(onHover) { + }, + getUrl: function(){ return this.url; }, |
