Test case:
require 'interactor'
class ABC
include Interactor
before do
p "doing it"
end
after do
p "done it"
end
end
class DoIt < ABC
def call
p "calling DoIt"
end
end
DoIt.call
expected:
"doing it"
"calling DoIt"
"done it"
reality:
"calling DoIt"