class DeprecationToolkit::Behaviors::CIRecordHelper
Constants
- HEADER
Public Class Methods
trigger(test, current_deprecations, _recorded_deprecations)
click to toggle source
# File lib/deprecation_toolkit/behaviors/ci_record_helper.rb, line 12 def self.trigger(test, current_deprecations, _recorded_deprecations) filename = recorded_deprecations_path(test) to_output = { filename.to_s => { test_name(test) => current_deprecations.deprecations_without_stacktrace, }, } raise "#{HEADER} #{JSON.dump(to_output)}" end