aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/LoaderTest.js4
-rw-r--r--test/ServerTest.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/LoaderTest.js b/test/LoaderTest.js
index 88ae3efa..a474c8a4 100644
--- a/test/LoaderTest.js
+++ b/test/LoaderTest.js
@@ -50,8 +50,8 @@ UrlWatcherTest.prototype.testItShouldFireOnUpdateEventWhenSpecialURLSet = functi
expectAsserts(2);
var location = {href:"http://server", hash:"#$iframe_notify=1234"};
var watcher = new UrlWatcher(location);
- callbacks._iframe_notify_1234 = function () {
- assertEquals("undefined", typeof callbacks._iframe_notify_1234);
+ angular.callbacks._iframe_notify_1234 = function () {
+ assertEquals("undefined", typeof angularCallbacks._iframe_notify_1234);
assertEquals("http://server2#", location.href);
};
watcher.delay = 1;
diff --git a/test/ServerTest.js b/test/ServerTest.js
index e367c90a..02fab84c 100644
--- a/test/ServerTest.js
+++ b/test/ServerTest.js
@@ -10,7 +10,7 @@ ServerTest.prototype.testBreakLargeRequestIntoPackets = function() {
assertEquals(200, code);
assertEquals("response", r);
});
- callbacks.uuid0("response");
+ angularCallbacks.uuid0("response");
assertEquals(
"|http://server/$/uuid0/2/1?h=eyJtIjoiUE9TVCIsInAiOnt9LCJ1Ij" +
"|http://server/$/uuid0/2/2?h=oiL2RhdGEvZGF0YWJhc2UifQ==",
@@ -35,7 +35,7 @@ FrameServerTest.prototype = {
testWrite:function(){
var window = {};
var server = new FrameServer(window);
- server.data = "TestData"
+ server.data = "TestData";
server.write();
assertEquals('$DATASET:"TestData"', window.name);
}