test/docs/wrap_test.rb in trailblazer-macro-2.1.0.rc13 vs test/docs/wrap_test.rb in trailblazer-macro-2.1.0.rc14
- old
+ new
@@ -172,13 +172,15 @@
#:transaction-handler end
#:transaction
class Memo::Create < Trailblazer::Operation
step :find_model
+ #:wrap-only
step Wrap( MyTransaction ) {
step :update
step :rehash
}
+ #:wrap-only end
step :notify
fail :log_error
#~methods
include T.def_steps(:find_model, :update, :notify, :log_error)
include Rehash