Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Move in code from RSpec::Mocks::RecursiveConstantMethods #76

Merged
merged 1 commit into from
Jun 6, 2014
Merged

Move in code from RSpec::Mocks::RecursiveConstantMethods #76

merged 1 commit into from
Jun 6, 2014

Conversation

jimmycuadra
Copy link
Contributor

As discussed in rspec/rspec-core#1580, transferring the RecursiveConstantMethods module to this gem so it can be used by rspec-core to safely look up constants without checking ancestor objects.

I also added specs for the module since it was only tested indirectly through the the constant mutation examples in rspec-mocks.

myronmarston added a commit that referenced this pull request Jun 6, 2014
Move in code from RSpec::Mocks::RecursiveConstantMethods
@myronmarston myronmarston merged commit a9faf8b into rspec:master Jun 6, 2014
@myronmarston
Copy link
Member

Merged. Thanks!

myronmarston added a commit that referenced this pull request Jun 6, 2014
This was included in #76 but is not actually needed since
.rspec includes an option to require spec_helper.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants