Sha256: f20c31f4df902dafc17b66e0cc73701f099de90e47cd7c1ac92389197931297d
Contents?: true
Size: 490 Bytes
Versions: 5
Compression:
Stored size: 490 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper' require 'cucumber/formatters/ansicolor' module Cucumber module Formatters describe ANSIColor do include ANSIColor it "should wrap string in bold green for #passed with string arg" do passed("foo").should == "\e[0m\e[1m\e[32mfoo\e[0m\e[0m" end it "should return bold green without wrapping for #passed without arg" do passed.should == "\e[0m\e[1m\e[32m" end end end end
Version data entries
5 entries across 5 versions & 1 rubygems