aboutsummaryrefslogtreecommitdiffstats
path: root/test/scenario/DescribeSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/scenario/DescribeSpec.js')
-rw-r--r--test/scenario/DescribeSpec.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/scenario/DescribeSpec.js b/test/scenario/DescribeSpec.js
index 05129cfe..417a0d2e 100644
--- a/test/scenario/DescribeSpec.js
+++ b/test/scenario/DescribeSpec.js
@@ -38,12 +38,16 @@ describe('angular.scenario.Describe', function() {
expect(specs.length).toEqual(2);
expect(specs[0].name).toEqual('2');
- specs[0].fn();
+ specs[0].before();
+ specs[0].body();
+ specs[0].after();
expect(log.text).toEqual('{(2)}');
log.reset();
expect(specs[1].name).toEqual('1');
- specs[1].fn();
+ specs[1].before();
+ specs[1].body();
+ specs[1].after();
expect(log.text).toEqual('{1}');
});