Method: Pendaxes::Reporter::Text#report
- Defined in:
- lib/pendaxes/reporters/text.rb
#report ⇒ Object
6 7 8 9 10 |
# File 'lib/pendaxes/reporters/text.rb', line 6 def report pendings.sort_by{|x| x[:commit][:at] - Time.now }.map {|pending| "* #{pending[:example][:file]}:#{pending[:example][:line]} - #{pending[:example][:message]} (@ #{pending[:commit][:sha]} #{pending[:commit][:at]})" }.join("\n") end |