Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To get the submitHandler called, we add a submitForm action on the component, so that it will be called when the form is submitted. Then we retrieve the "submitHandler" property of the component, and call it as a function. Inner green; outer red: TypeError: this.submitHandler is not a function Now our component test is able to verify that the submit handler is called. Now the acceptance test errors out because submitting the form expects a submitHandler to be passed in, and there isn't one.
- Loading branch information