Sha256: 5c5e3817ec3abdc870a708a3e411c5f1816a4a68e5b4a6cad8a01b25212efaa7
Contents?: true
Size: 555 Bytes
Versions: 5
Compression:
Stored size: 555 Bytes
Contents
describe "Layouts automatically apply styles" do before do @subject = TestApplyStyles.new end it "should call all style methods" do @subject.view @subject.did_call_logo.should == true @subject.did_call_h1_label.should == true @subject.did_call_label.should == true end it "should apply all styles" do @subject.get(:logo).text.should == 'MK' @subject.get(:label).text.should == ':label' @subject.get(:label).font.pointSize.should == 16 @subject.get(:label).textColor.should == UIColor.blackColor end end
Version data entries
5 entries across 5 versions & 1 rubygems