Skip to content

refactor: Cleanup rspec cleaner before hook

This patch ensures that we don't run cleanup hook twice in case if user (for no real reason) applied both :experiment and :type tags:

RSpec.describe SomeExperiment, :experiment, type: :experiment do
  # ...
end

Running cleanup block twice won't harm, but won't do any good either. :D

Merge request reports