aboutsummaryrefslogtreecommitdiffstats
path: root/test/scenario/FutureSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/scenario/FutureSpec.js')
-rw-r--r--test/scenario/FutureSpec.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/scenario/FutureSpec.js b/test/scenario/FutureSpec.js
index 1e6af7a1..52bd9c66 100644
--- a/test/scenario/FutureSpec.js
+++ b/test/scenario/FutureSpec.js
@@ -3,9 +3,10 @@ describe('angular.scenario.Future', function() {
it('should set the sane defaults', function() {
var behavior = function() {};
- var future = new angular.scenario.Future('test name', behavior);
+ var future = new angular.scenario.Future('test name', behavior, 'foo');
expect(future.name).toEqual('test name');
expect(future.behavior).toEqual(behavior);
+ expect(future.line).toEqual('foo');
expect(future.value).toBeUndefined();
expect(future.fulfilled).toBeFalsy();
expect(future.parser).toEqual(angular.identity);