diff --git a/src/gurka.erl b/src/gurka.erl index 2ec783ccc095cd578f8abdebeaf15161e988978b..850fe74e8494b44a309154ba04abe4dddc58a88f 100644 --- a/src/gurka.erl +++ b/src/gurka.erl @@ -206,7 +206,8 @@ resolve_module(_Module, [<<"(module:", Term/binary>> | Pattern]) -> resolve_module(Module, [_ | Pattern]) -> resolve_module(Module, Pattern). -skip_scenario(_Module, _Options, _FeatureState, []) -> +skip_scenario(Module, Options, FeatureState, []) -> + apply(Module, Options, teardown_feature, [FeatureState]), []; skip_scenario(Module, Options, FeatureState, Feature = [#step{action = start} | _Steps]) ->