Sha256: 44302ca7bdd3ad4b5e4883727a088ecf4682042fc91eb24f298d5353d2fdf537

Contents?: true

Size: 266 Bytes

Versions: 4

Compression:

Stored size: 266 Bytes

Contents

require 'helper'

describe "A PryTheme::Color instance" do
  before do
    @c = PryTheme::Color.new("111", "dopey")
  end

  it "should represent itself in terminal form" do
    @c.to_term("38;5;").should == "\e[38;5;111;7m111\e[0m:\e[38;5;111mdopey\e[0m"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pry-theme-0.1.3 test/test_palette.rb
pry-theme-0.1.2 test/test_palette.rb
pry-theme-0.1.1 test/test_palette.rb
pry-theme-0.1.0 test/test_palette.rb