Skip to content

Commit 96aea0c

Browse files
author
Lionel Bijaoui
committed
1 parent f21b73a commit 96aea0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/specs/fields/fieldSubmit.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ describe("fieldSubmit.vue", () => {
6666
expect(schema.fieldOptions.onSubmit.calledWith(model, schema)).to.be.true;
6767
});
6868

69-
it("should call validate if validateBeforeSubmit is true", () => {
69+
it("should call validate and onSubmit if validateBeforeSubmit is true", () => {
7070
const spyEmit = sinon.spy(wrapper.props().eventBus, "$emit");
7171
schema.fieldOptions.validateBeforeSubmit = true;
7272
schema.fieldOptions.onSubmit = sinon.spy();

0 commit comments

Comments
 (0)