Skip to content
This repository was archived by the owner on Nov 15, 2019. It is now read-only.

Commit 591599b

Browse files
author
b4dnewz
committed
Fixed tests after updates
1 parent a585655 commit 591599b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/angular-content-editable.directive.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe("Angular Content Editable: Directive", function () {
1818
scope = $rootScope.$new();
1919
scope.myModel = 'Text to be modified.';
2020
scope.onEdit = jasmine.createSpy('onEdit');
21-
element = $compile('<h1 ng-model="myModel" edit-callback="onEdit" content-editable></h1>')(scope);
21+
element = $compile('<h1 ng-model="myModel" edit-callback="onEdit(text, elem)" content-editable></h1>')(scope);
2222
scope.$digest();
2323
});
2424

0 commit comments

Comments
 (0)