Sha256: 68fd198f68dfa5d7bd7f73d6cdb82536bd02ef032274304bb75ca9a72bb06f51
Contents?: true
Size: 692 Bytes
Versions: 98
Compression:
Stored size: 692 Bytes
Contents
require 'spec_helper' require 'gherkin/formatter/ansi_escapes' module Gherkin module Formatter describe AnsiEscapes do describe "instance methods" do include AnsiEscapes it "failed should be red" do failed.should == "\e[31m" end it "failed_arg should be red bold" do failed_arg.should == "\e[31m\e[1m" end end describe "class methods" do subject { AnsiEscapes } it "failed should be red" do subject.failed.should == "\e[31m" end it "failed_arg should be red bold" do subject.failed_arg.should == "\e[31m\e[1m" end end end end end
Version data entries
98 entries across 93 versions & 9 rubygems