lib/xcpretty/formatters/rspec.rb in xcpretty-0.1.7 vs lib/xcpretty/formatters/rspec.rb in xcpretty-0.1.8
- old
+ new
@@ -3,10 +3,11 @@
class RSpec < Formatter
FAIL = "F"
PASS = "."
PENDING = "P"
+ MEASURING = 'T'
def optional_newline
''
end
@@ -18,9 +19,13 @@
red(FAIL)
end
def format_pending_test(suite, test_case)
yellow(PENDING)
+ end
+
+ def format_measuring_test(suite, test_case, time)
+ yellow(MEASURING)
end
end
end