class RSpec::Github::Formatter

Public Instance Methods

example_failed(failure) click to toggle source
# File lib/rspec/github/formatter.rb, line 12
def example_failed(failure)
  notification = NotificationDecorator.new(failure)

  output.puts "\n::error file=#{notification.path},line=#{notification.line}::#{notification.annotation}"
end
example_pending(pending) click to toggle source
# File lib/rspec/github/formatter.rb, line 18
def example_pending(pending)
  notification = NotificationDecorator.new(pending)

  output.puts "\n::warning file=#{notification.path},line=#{notification.line}::#{notification.annotation}"
end