# File lib/mspec/runner/actions/tally.rb, line 48 def error pluralize errors, "error" end
# File lib/mspec/runner/actions/tally.rb, line 24 def errors!(add=1) @errors += add end
# File lib/mspec/runner/actions/tally.rb, line 36 def example pluralize examples, "example" end
# File lib/mspec/runner/actions/tally.rb, line 12 def examples!(add=1) @examples += add end
# File lib/mspec/runner/actions/tally.rb, line 40 def expectation pluralize expectations, "expectation" end
# File lib/mspec/runner/actions/tally.rb, line 16 def expectations!(add=1) @expectations += add end
# File lib/mspec/runner/actions/tally.rb, line 44 def failure pluralize failures, "failure" end
# File lib/mspec/runner/actions/tally.rb, line 20 def failures!(add=1) @failures += add end
# File lib/mspec/runner/actions/tally.rb, line 32 def file pluralize files, "file" end
# File lib/mspec/runner/actions/tally.rb, line 8 def files!(add=1) @files += add end
# File lib/mspec/runner/actions/tally.rb, line 56 def format results = [ file, example, expectation, failure, error ] results << guard if [:report, :report_on, :verify].any? { |m| MSpec.mode? m } results.join(", ") end
# File lib/mspec/runner/actions/tally.rb, line 52 def guard pluralize guards, "guard" end
Generated with the Darkfish Rdoc Generator 2.