Method: Protest::Report#add_assertion

Defined in:
lib/protest/report.rb

#add_assertionObject

Log an assertion was run (whether it succeeded or failed.)



97
98
99
100
# File 'lib/protest/report.rb', line 97

def add_assertion
  @assertions ||= 0
  @assertions += 1
end