-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
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
Sara and Jocelyn -- Carets #23
base: master
Are you sure you want to change the base?
Conversation
Video StoreWhat We're Looking For
|
customer.city = "Radtown" | ||
customer.state = "WAtever" | ||
|
||
customer.valid?.must_equal true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know it's a pain, but it's way more accurate to have separate tests that test each field on their own!
Start with a valid customer
(like customer_one
in this test), and then in each test take away one field and test that customer_one.valid?.must_equal false
. Here, you started with an invalid object and kept adding until it was valid-- try going in the opposite direction.
Video Store API
Congratulations! You're submitting your assignment!
If you didn't get to the functionality the question is asking about, reply with what you would have done if you had completed it.
Comprehension Questions