class DeprecationToolkit::Behaviors::Record

Public Class Methods

trigger(test, collector, _) click to toggle source
# File lib/deprecation_toolkit/behaviors/record.rb, line 8
def self.trigger(test, collector, _)
  deprecation_file = recorded_deprecations_path(test)

  write(deprecation_file, test_name(test) => collector.deprecations_without_stacktrace)
end