Sha256: 57e72298f58a04351e7c5ee1e9d41b09b8815414ba1434888a49802349e7f0ef
Contents?: true
Size: 430 Bytes
Versions: 26
Compression:
Stored size: 430 Bytes
Contents
require 'spec/runner/formatter/progress_bar_formatter' # Example of a formatter with custom bactrace printing. Run me with: # ruby bin/spec failing_examples -r examples/custom_formatter.rb -f CustomFormatter class CustomFormatter < Spec::Runner::Formatter::ProgressBarFormatter def backtrace_line(line) line.gsub(/([^:]*\.rb):(\d*)/) do "<a href=\"file://#{File.expand_path($1)}\">#{$1}:#{$2}</a> " end end end
Version data entries
26 entries across 26 versions & 3 rubygems