hooks.rb 257 Bytes Edit Raw Blame History 1 2 3 4 5 6 Before do |scenario| # The +scenario+ argument is optional, but if you use it, you can get the title, # description, or name (title + description) of the scenario that is about to be # executed. STDOUT.puts "Starting scenario: #{scenario.name}" end