Sha256: eb354b528fef379a6af230246a65236a55694b66e0f4ccd93200906880c336d0

Contents?: true

Size: 384 Bytes

Versions: 7

Compression:

Stored size: 384 Bytes

Contents

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

class NotificationSpec < Spec::Runner::Formatter::BaseFormatter
  include Formatter

  def dump_summary(duration, total, failures, pending)
    message = guard_message(total, failures, pending, duration)
    image   = guard_image(failures, pending)
    notify(message, image)
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
guard-rspec-0.4.3 lib/guard/rspec/formatters/notification_spec.rb
guard-rspec-0.4.2 lib/guard/rspec/formatters/notification_spec.rb
guard-rspec-0.4.1 lib/guard/rspec/formatters/notification_spec.rb
guard-rspec-0.4.0 lib/guard/rspec/formatters/notification_spec.rb
guard-rspec-0.3.1 lib/guard/rspec/formatters/notification_spec.rb
guard-rspec-0.3.0 lib/guard/rspec/formatters/notification_spec.rb
guard-rspec-0.2.0 lib/guard/rspec/formatters/notification_spec.rb