Why were there no tests for UITextLabel stylers? Weird.

Now there are.
This commit is contained in:
Mark Rickert
2014-12-18 11:29:56 -05:00
parent 3e16794bc7
commit 8196608443

View File

@@ -21,7 +21,12 @@ describe 'stylers/ui_text_field' do
view = @vc.rmq.append(@view_klass, :ui_text_field_kitchen_sink).get
view.tap do |v|
1.should == 1
v.text.should == 'foo'
v.textAlignment.should == NSTextAlignmentCenter
v.placeholder.should == "placeholder"
v.borderStyle.should == UITextBorderStyleRoundedRect
v.autocapitalizationType.should == UITextAutocapitalizationTypeWords
v.keyboardType.should == UIKeyboardTypeDefault
end
end
end