Sha256: 143fb1071674ff10aeb696681ed46a4153534a6b36c6b48bc6a8436d86c72c7f

Contents?: true

Size: 238 Bytes

Versions: 16

Compression:

Stored size: 238 Bytes

Contents

describe 'UIColor' do

  it "should have a #uicolor method" do
    UIColor.redColor.uicolor.should == UIColor.redColor
  end

  it "should have a #uicolor(alpha) method" do
    UIColor.redColor.uicolor(0.5).alpha.should == 0.5
  end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
sugarcube-0.18.16 spec/uicolor_spec.rb
sugarcube-0.18.12 spec/uicolor_spec.rb
sugarcube-0.18.11 spec/uicolor_spec.rb
sugarcube-0.18.10 spec/uicolor_spec.rb
sugarcube-0.18.9 spec/uicolor_spec.rb
sugarcube-0.18.8 spec/uicolor_spec.rb
sugarcube-0.18.7 spec/uicolor_spec.rb
sugarcube-0.18.6 spec/uicolor_spec.rb
sugarcube-0.18.5 spec/uicolor_spec.rb
sugarcube-0.18.4 spec/uicolor_spec.rb
sugarcube-0.18.3 spec/uicolor_spec.rb
sugarcube-0.18.2 spec/uicolor_spec.rb
sugarcube-0.18.1 spec/uicolor_spec.rb
sugarcube-0.18.0 spec/uicolor_spec.rb
sugarcube-0.16.9 spec/uicolor_spec.rb
sugarcube-0.16.5 spec/uicolor_spec.rb