We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When creating an author without last name Then validation should fail
What is the correct place to test this behavior, is it a model or a feature test?
You can learn about validations in this guide.
Expected #<author id: nil, first_name: "alan", last_name: nil, homepage: "http://example.com", created_at: nil, updated_at: nil> not to be valid
Estimated progress: 40% complete
The text was updated successfully, but these errors were encountered:
Refs #11: red test
c057e95
Refs #11: author validation
bfd3ea8
No branches or pull requests
Scenario
When creating an author without last name
Then validation should fail
Hints
What is the correct place to test this behavior, is it a model or a feature test?
You can learn about validations in this guide.
Error
Estimated progress: 40% complete
The text was updated successfully, but these errors were encountered: