Skip to content

Adds `RSpec.current_example`

gitlab-qa-bot requested to merge github/fork/alindeman/current_example into master

Created by: alindeman

  • 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).

Merge request reports