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

Commits on Jul 21, 2013

  1. Adds RSpec.current_example

    * 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).
    alindeman committed Jul 21, 2013
    Configuration menu
    Copy the full SHA
    50efee4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    72237b7 View commit details
    Browse the repository at this point in the history
  3. Uses thread-local variables

    * While RSpec isn't necessarily thread safe right now, it might be in
      the future.
    alindeman committed Jul 21, 2013
    Configuration menu
    Copy the full SHA
    abb235b View commit details
    Browse the repository at this point in the history