lib/cucumber/language_support/language_methods.rb in aslakhellesoy-cucumber-0.3.98 vs lib/cucumber/language_support/language_methods.rb in aslakhellesoy-cucumber-0.3.99
- old
+ new
@@ -8,9 +8,15 @@
def after(scenario)
execute_after(scenario)
end_scenario
end
+
+ def after_configuration(configuration)
+ hooks[:after_configuration].each do |hook|
+ hook.invoke('AfterConfiguration', configuration)
+ end
+ end
def execute_after_step(scenario)
hooks_for(:after_step, scenario).each do |hook|
invoke(hook, 'AfterStep', scenario, false)
end
\ No newline at end of file