spec/ios/view_attr_spec.rb in motion-kit-0.10.11 vs spec/ios/view_attr_spec.rb in motion-kit-0.11.0
- old
+ new
@@ -20,6 +20,13 @@
label = @layout.label
label.should.be.kind_of(UILabel)
label.should == @layout.label
end
+ it 'should handle multiple views' do
+ @layout.view
+ text_field = @layout.text_field
+ text_field.should.be.kind_of(UITextField)
+ text_view = @layout.text_view
+ text_view.should.be.kind_of(UITextView)
+ end
end