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

Jaren Garman #4

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

Conversation

JarenGarman
Copy link

This IC went pretty well for me! I tried my hand at using mocks and stubs, I would like some specific feedback on if I used them correctly or if there are any potential issues with my implementation. I also made use of SimpleCov and got 100% on both line and branch coverage

lib/election.rb Outdated
end

def vote_counts
counts = {}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there an enumerable or different way of creating a hash that would allow me to create and return the hash all on one line? it feels kinda clunky to have to create an empty hash and then return it at the end

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.

1 participant