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

Safer method visibility restoration #141

Closed
wants to merge 1 commit into from

Conversation

tmm1
Copy link
Contributor

@tmm1 tmm1 commented Mar 1, 2013

This fixes errors when public or private is redefined, for example as a named_scope on an ActiveRecord model.

/cc @floehopper #109

@floehopper
Copy link
Member

Thanks for taking the time to submit these changes. Can you add one or more tests which fail without this change. I think that would help explain why the change is needed.

@ghost ghost assigned floehopper Mar 6, 2013
@floehopper floehopper closed this in 2b3148c Mar 6, 2013
@floehopper
Copy link
Member

Thanks. I merged and amended your commit to include some tests. It would be great if you could check that you're happy with the changes I've made.

@tmm1
Copy link
Contributor Author

tmm1 commented Mar 6, 2013

Looks great, thanks!

@floehopper
Copy link
Member

This has now been released in Mocha 0.13.3. It would be great if you could check that it solves your problem.

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