lib/cucumber/step_mother.rb in cavalle-cucumber-0.2.3.3.1 vs lib/cucumber/step_mother.rb in cavalle-cucumber-0.2.3.3.2
- old
+ new
@@ -206,9 +206,13 @@
execute_after(scenario) unless skip
nil_world!
scenario_visited(scenario)
end
end
+
+ def after(scenario)
+ execute_after(scenario)
+ end
private
def max_step_definition_length
@max_step_definition_length ||= step_definitions.map{|step_definition| step_definition.text_length}.max