access example from within matcher #2

Closed
dchelimsky opened this Issue Mar 4, 2010 · 2 comments

3 participants

@dchelimsky
RSpec member

I want to be able to do this:

Rspec::Matchers.define :foo do |expected|
  match do |actual|
    # access running_example here
  end
end
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment