lib/xcpretty/formatters/rspec.rb in xcpretty-0.0.9 vs lib/xcpretty/formatters/rspec.rb in xcpretty-0.1.0

- old
+ new

@@ -2,10 +2,11 @@ class RSpec < Formatter FAIL = "F" PASS = "." + PENDING = "P" def optional_newline '' end @@ -13,9 +14,13 @@ green(PASS) end def format_failing_test(test_suite, test_case, reason, file) red(FAIL) + end + + def format_pending_test(suite, test_case) + yellow(PENDING) end end end