-
Notifications
You must be signed in to change notification settings - Fork 257
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
Zion Mekonnen #613
base: main
Are you sure you want to change the base?
Zion Mekonnen #613
Conversation
:engine, | ||
:plate_type, | ||
:antique, | ||
:register_date |
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.
Make sure you name your attr_readers with the same name as your instance variable that it is reading. In this case, it should be :registration_date
expect(cruz.registration_date).to eq(nil) | ||
end | ||
|
||
|
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.
You want to add tests for any methods that you create. It looks like we are missing tests for update_registration_date
and update_plate_type
expect(registrant_2.license_data).to eq({:written=>false, :license=>false, :renewed=>false}) | ||
end | ||
|
||
it "returns if permit is earned" do |
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.
This is a great test!
No description provided.