Sha256: 5b84a0ff5cd54ade58b1f18eabb315a69179cbd6f655d2883ff5685193db910e
Contents?: true
Size: 589 Bytes
Versions: 17
Compression:
Stored size: 589 Bytes
Contents
describe 'CALayerHelpers' do before do @subject = TestCALayerLayout.new.build end describe 'should style a CALayer' do describe 'should style :gradient layer' do it 'should set the frame' do @subject.get(:gradient).frame.should == CGRectMake(0, 0, 20, 20) end it 'should set the colors' do @subject.get(:gradient).colors.length.should == 2 end end describe 'should style :bottom layer' do it 'should set the frame' do @subject.get(:bottom).frame.should == CGRectMake(0, 20, 20, 10) end end end end
Version data entries
17 entries across 11 versions & 1 rubygems