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

Add specs for Enumerable#max_by optional arg #3346

Merged
merged 1 commit into from
Mar 7, 2015

Conversation

jsyeo
Copy link
Member

@jsyeo jsyeo commented Mar 6, 2015

🙌

end

context "when n is negative" do
it "raises an Argument error" do
Copy link
Contributor

Choose a reason for hiding this comment

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

Argument error should be ArgumentError

@jsyeo jsyeo force-pushed the max-by-optional-arg-spec branch from d05551a to c303425 Compare March 7, 2015 13:44
@jsyeo
Copy link
Member Author

jsyeo commented Mar 7, 2015

@yorickpeterse fixed.

yorickpeterse pushed a commit that referenced this pull request Mar 7, 2015
Add specs for Enumerable#max_by optional arg
@yorickpeterse yorickpeterse merged commit f7ba17e into rubinius:2.2 Mar 7, 2015
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.

None yet

2 participants