Sha256: 4288c833e52b1a14288304cc7a301c96ce07cf732cbbd7f4e6404b89549ae5e3

Contents?: true

Size: 456 Bytes

Versions: 1

Compression:

Stored size: 456 Bytes

Contents

require 'wlog/tech/uncolored_string'

include Wlog

describe UncoloredString do

  ucs = UncoloredString

  it "should not color anything" do
    expect(ucs.red("a")).to eq("a")
    expect(ucs.yellow("a")).to eq("a")
    expect(ucs.magenta("a")).to eq("a")
    expect(ucs.green("a")).to eq("a")
    expect(ucs.blue("a")).to eq("a")
    expect(ucs.white("a")).to eq("a")
    expect(ucs.black("a")).to eq("a")
    expect(ucs.cyan("a")).to eq("a")
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wlog-1.2.2 spec/tech/uncolored_string.rb