Skip to content

Commit 7dd2d4f

Browse files
committed
fix an existing test, that wasn't doing what it was supposed to
1 parent cf7276a commit 7dd2d4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/directives/schema-form-test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,9 @@ describe('directive',function(){
252252
tmpl.children().eq(2).children().eq(0).find('button').length.should.be.equal(1);
253253
tmpl.children().eq(2).children().eq(0).find('button').text().should.include('Okidoki');
254254

255-
scope.form[1].onClick.should.not.have.beenCalled;
255+
scope.form[1].onClick.should.not.have.been.called;
256256
tmpl.children().eq(2).children().eq(0).find('button').click();
257-
scope.form[1].onClick.should.have.beenCalledOnce;
257+
scope.form[1].onClick.should.have.been.calledOnce;
258258
});
259259
});
260260

0 commit comments

Comments
 (0)