Sha256: ca7488f5587058dd5eff30d2aff372f541e9e02501796003d848a667309b9fe1

Contents?: true

Size: 516 Bytes

Versions: 4

Compression:

Stored size: 516 Bytes

Contents

require 'spec/runner/formatter/base_formatter'
require "#{File.dirname(__FILE__)}/rspec_formatter"
require "#{File.dirname(__FILE__)}/../rspactor/notifier"

class RSpecOneFormatter < Spec::Runner::Formatter::BaseFormatter
  include RSpecFormatter
  
  def dump_summary(duration, total, failures, pending)
    message    = rspactor_message(total, failures, pending, duration)
    image_path = rspactor_image_path(failures, pending)
    
    RSpactor::Notifier.notify(message, rspactor_title, image_path)
  end
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rspactor-0.7.0.beta.7 lib/formatters/rspec_one_formatter.rb
rspactor-0.7.0.beta.6 lib/formatters/rspec_one_formatter.rb
rspactor-0.7.0.beta.5 lib/formatters/rspec_one_formatter.rb
rspactor-0.7.0.beta.4 lib/formatters/rspec_one_formatter.rb