aboutsummaryrefslogtreecommitdiffstats
path: root/test/scenario/output/objectSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/scenario/output/objectSpec.js')
-rw-r--r--test/scenario/output/objectSpec.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/scenario/output/objectSpec.js b/test/scenario/output/objectSpec.js
index c4e8d451..73c3dcf9 100644
--- a/test/scenario/output/objectSpec.js
+++ b/test/scenario/output/objectSpec.js
@@ -18,19 +18,19 @@ describe('angular.scenario.output.object', function() {
};
step = {
name: 'some step',
- line: function() { return 'unknown:-1'; },
+ line: function() { return 'unknown:-1'; }
};
});
-
+
it('should create a global variable $result', function() {
expect($window.$result).toBeDefined();
});
-
+
it('should maintain live state in $result', function() {
runner.emit('SpecBegin', spec);
runner.emit('StepBegin', spec, step);
runner.emit('StepEnd', spec, step);
-
+
expect($window.$result.children['describe']
.specs['test spec'].steps[0].duration).toBeDefined();
});