aboutsummaryrefslogtreecommitdiffstats
path: root/test/testabilityPatch.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/testabilityPatch.js')
-rw-r--r--test/testabilityPatch.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js
index 78ffd380..8fac7598 100644
--- a/test/testabilityPatch.js
+++ b/test/testabilityPatch.js
@@ -35,13 +35,13 @@ function report(reportTest){
});
}
-MockUrlWatcher = function() {
+MockLocation = function() {
this.url = "http://server";
};
-MockUrlWatcher.prototype.getUrl = function(){
+MockLocation.prototype.get = function(){
return this.url;
};
-MockUrlWatcher.prototype.setUrl = function(url){
+MockLocation.prototype.set = function(url){
this.url = url;
};
@@ -96,7 +96,7 @@ function decode64(base64){
return fromJson(Base64.decode(base64));
}
-Angular.prototype.configureJQueryPlugins();
+configureJQueryPlugins();
function assertHidden(node) {
var display = node.css('display');