Sha256: 2896d68fafdc46d21377a95e912309f04cb28bf48d15a750bb61fcc1138e2f3e

Contents?: true

Size: 457 Bytes

Versions: 7

Compression:

Stored size: 457 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

7 entries across 7 versions & 1 rubygems

Version Path
wlog-1.2.1 spec/tech/uncolored_string.rb
wlog-1.2.0 spec/tech/uncolored_string.rb
wlog-1.1.7 spec/tech/uncolored_string.rb
wlog-1.1.6 spec/tech/uncolored_string.rb
wlog-1.1.5 spec/tech/uncolored_string.rb
wlog-1.1.1 spec/tech/uncolored_string.rb
wlog-1.0.5 spec/tech/uncolored_string.rb