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

RSpec.current_example (2.99) #1011

Merged
merged 3 commits into from
Jul 21, 2013

Conversation

alindeman
Copy link
Contributor

Using a PR to get a green light from Travis

* Library authors that want to support RSpec 2 and 3
  can use `RSpec.current_example` to find the current example in a hook
  method. In RSpec versions before 2.99, `self.example` can be used (but
  `self.example` is deprecated in RSpec >= 2.99 and removed in RSpec 3).
* While RSpec isn't necessarily thread safe right now, it might be in
  the future.
alindeman added a commit that referenced this pull request Jul 21, 2013
@alindeman alindeman merged commit 05d9c84 into rspec:2-99-maintenance Jul 21, 2013
yujinakayama pushed a commit to yujinakayama/rspec-monorepo that referenced this pull request Oct 6, 2021
…t_example

RSpec.current_example (2.99)

---
This commit was imported from rspec/rspec-core@05d9c84.
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

1 participant