aboutsummaryrefslogtreecommitdiffstats
path: root/test/scenario/output/HtmlSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/scenario/output/HtmlSpec.js')
-rw-r--r--test/scenario/output/HtmlSpec.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/scenario/output/HtmlSpec.js b/test/scenario/output/HtmlSpec.js
index f973397e..6694bb45 100644
--- a/test/scenario/output/HtmlSpec.js
+++ b/test/scenario/output/HtmlSpec.js
@@ -1,5 +1,5 @@
describe('angular.scenario.output.html', function() {
- var runner, spec, listeners;
+ var runner, model, spec, listeners;
var ui, context;
beforeEach(function() {
@@ -22,8 +22,9 @@ describe('angular.scenario.output.html', function() {
line: function() { return 'unknown:-1'; }
};
runner = new angular.scenario.testing.MockRunner();
+ model = new angular.scenario.ObjectModel(runner);
context = _jQuery("<div></div>");
- ui = angular.scenario.output.html(context, runner);
+ ui = angular.scenario.output.html(context, runner, model);
});
it('should create nested describe context', function() {