Skip to content

spec for "no longer try to call #to_ary method on elements beyond the given level." #307

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

Merged
merged 2 commits into from
Oct 12, 2016
Merged

Conversation

sgarciac
Copy link
Contributor

No description provided.

obj = mock("1")
obj.should_not_receive(:to_ary)
[[obj]].flatten(1)
end
Copy link
Member

Choose a reason for hiding this comment

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

Could add a version guard since this is only fixed from 2.3 and later? See this example.

@eregon
Copy link
Member

eregon commented Oct 11, 2016

Thanks a lot, the new spec is nice!

I have a small nitpick, could you reword your commit messages to reference issues in this format?

<commit title>
* See #175
* See [Feature 11801]

@sgarciac
Copy link
Contributor Author

Hello! Ok, I'll come back with those changes.

Sergio Garcia added 2 commits October 11, 2016 18:18
which is not compatible with Encoding.default_external as inspected
result.

* See [Feature 11801]
* See #174
@sgarciac
Copy link
Contributor Author

done

@eregon eregon merged commit 9a6c6b1 into ruby:master Oct 12, 2016
@eregon
Copy link
Member

eregon commented Oct 12, 2016

Merged, thank you for your contribution!

@eregon eregon mentioned this pull request Oct 12, 2016
51 tasks
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