Skip to content
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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

zionmekonnen
Copy link

No description provided.

:engine,
:plate_type,
:antique,
:register_date

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


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

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants