Sha256: 3c48a5d28f45e6bd694e6511c88e7d1a57a5b4441566539e3e63a302ecc5e12d

Contents?: true

Size: 509 Bytes

Versions: 28

Compression:

Stored size: 509 Bytes

Contents

describe "UIAppearance support" do
  tests CustomAppearanceController

  it "should have custom appearance on label_1" do
    controller.label_1.numberOfLines.should == 3
    controller.label_1.alpha.should == 0.75
  end

  it "should have custom appearance on container" do
    controller.container.backgroundColor.should == UIColor.whiteColor
  end

  it "should have different appearance on label_2" do
    controller.label_2.numberOfLines.should == 2
    controller.label_2.alpha.should == 0.5
  end

end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
teacup-2.1.1 spec/ios/appearance_spec.rb
teacup-2.1.0 spec/ios/appearance_spec.rb
teacup-2.0.6 spec/ios/appearance_spec.rb
teacup-2.0.5 spec/ios/appearance_spec.rb
teacup-2.0.4 spec/ios/appearance_spec.rb
teacup-2.0.3 spec/ios/appearance_spec.rb
teacup-2.0.2 spec/ios/appearance_spec.rb
teacup-2.0.0 spec/ios/appearance_spec.rb