aboutsummaryrefslogtreecommitdiffstats
path: root/test/scenario/ApplicationSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/scenario/ApplicationSpec.js')
-rw-r--r--test/scenario/ApplicationSpec.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/scenario/ApplicationSpec.js b/test/scenario/ApplicationSpec.js
index 1cab11ec..8c31726f 100644
--- a/test/scenario/ApplicationSpec.js
+++ b/test/scenario/ApplicationSpec.js
@@ -121,9 +121,6 @@ describe('angular.scenario.Application', function() {
};
testWindow.angular.service.$browser = function() {
return {
- poll: function() {
- polled = true;
- },
notifyWhenNoOutstandingRequests: function(fn) {
handlers.push(fn);
}
@@ -137,7 +134,6 @@ describe('angular.scenario.Application', function() {
expect($document).toBeDefined();
expect($document[0].className).toEqual('test-foo');
});
- expect(polled).toBeTruthy();
expect(handlers.length).toEqual(1);
handlers[0]();
});