Sha256: 8b2d7423ad7fe2e26b76b8915f0aa37599ed524970031c0ab153686947c75242

Contents?: true

Size: 188 Bytes

Versions: 2

Compression:

Stored size: 188 Bytes

Contents

describe NSString do
  it "should return a color from a hex" do
    color = '#272822'.to_color
    color.red.should == 39
    color.green.should == 40
    color.blue.should == 34
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
joybox-1.1.1 spec/motion/joybox/common/ns_string_spec.rb
joybox-1.1.0 spec/motion/joybox/common/ns_string_spec.rb