lib/convenient_service/examples/standard/gemfile/services/format.rb in convenient_service-0.11.0 vs lib/convenient_service/examples/standard/gemfile/services/format.rb in convenient_service-0.12.0
- old
+ new
@@ -12,19 +12,9 @@
module Gemfile
module Services
class Format
include ConvenientService::Standard::Config
- ##
- # IMPORTANT:
- # - `CanHaveMethodSteps` is disabled in the Standard config since it causes race conditions in combination with `CanHaveStubbedResult`.
- # - It will be reenabled after the introduction of thread-safety specs.
- # - Do not use it in production yet.
- #
- middlewares :step, scope: :class do
- use ConvenientService::Plugins::Service::CanHaveMethodSteps::Middleware
- end
-
attr_reader :path
step :validate_path,
in: :path