Sha256: 91a04272389f5495d4239c83ea3fd26ce308474ed21a735e1b0ee7b28299f3c8
Contents?: true
Size: 492 Bytes
Versions: 18
Compression:
Stored size: 492 Bytes
Contents
describe 'View attr' do before do @layout = TestViewAttrLayout.new end it 'should get :button' do @layout.view button = @layout.button button.should.be.kind_of(UIButton) end it 'should return the same :button' do @layout.view button = @layout.button button.should == @layout.button end it 'should call layout if the view doesnt exist' do label = @layout.label label.should.be.kind_of(UILabel) label.should == @layout.label end end
Version data entries
18 entries across 18 versions & 1 rubygems