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

stop using rspec private APIs #35

Open
michaelglass opened this issue Jul 9, 2015 · 2 comments
Open

stop using rspec private APIs #35

michaelglass opened this issue Jul 9, 2015 · 2 comments

Comments

@michaelglass
Copy link
Contributor

Presently, we use private apis which could change in minor versions, lets try to do it another way.

see: https://github.com/y310/rspec-retry/blob/85754e196361f909615d11013ba2b896e517cf53/lib/rspec_ext/rspec_ext.rb and #25

@myronmarston
Copy link

In RSpec itself we don't ever clear the memoized hash...we just instantiate a new example group instance for each spec. Maybe you can use a similar strategy?

Alternately, if there's a reason that won't work for you and you want a public API for clearing the memoized values, let us know.

@JonRowe
Copy link
Contributor

JonRowe commented Jul 10, 2015

Creating new instances would be the way I would try to do this too...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants