lib/rspec/configuration.rb in external_services-0.1.4 vs lib/rspec/configuration.rb in external_services-0.1.5

- old
+ new

@@ -3,17 +3,17 @@ module Configuration extend ActiveSupport::Concern def add_external_service(name) Disabler.add_external_service name - + mod = Module.new do define_method :"describe_#{name}_api" do |object:, **kwargs, &blk| describe_external_service_api(object: object, api_name: name, **kwargs, &blk) end end - self.extend mod + extend mod end end end end