Sha256: 1a71f5fa85ec3809c08531d08e5625838e6c6db1d07f383cbe6dedbf42e104c8
Contents?: true
Size: 333 Bytes
Versions: 3
Compression:
Stored size: 333 Bytes
Contents
module XCPretty module Printer class RSpec include Printer FAIL = "F" PASS = "." def pretty_format(text) case text when PASSING_TEST_MATCHER green(PASS) when FAILING_TEST_MATCHER red(FAIL) else "" end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
xcpretty-0.0.6 | lib/xcpretty/printers/rspec.rb |
xcpretty-0.0.5 | lib/xcpretty/printers/rspec.rb |
xcpretty-0.0.4 | lib/xcpretty/printers/rspec.rb |