[rspec-users] [Cucumber] how to get name from scenario hook?

Jim Morris wolfmanjm at gmail.com
Fri May 1 16:21:18 EDT 2009


Given the hook:

After do |scenario|


How do I get the name of the scenario from the scenario parameter?

scenario.name doesn't  work, and I looked through the source code and
it was not immediately obvious to me.


More information about the rspec-users mailing list