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-3.0.1 spec/ios/appearance_spec.rb
teacup-3.0.0 spec/ios/appearance_spec.rb
teacup-2.3.0 spec/ios/appearance_spec.rb
teacup-2.2.2 spec/ios/appearance_spec.rb
teacup-2.2.0 spec/ios/appearance_spec.rb
teacup-2.1.16 spec/ios/appearance_spec.rb
teacup-2.1.15 spec/ios/appearance_spec.rb
teacup-2.1.14 spec/ios/appearance_spec.rb
teacup-2.1.13 spec/ios/appearance_spec.rb
teacup-2.1.12 spec/ios/appearance_spec.rb
teacup-2.1.11 spec/ios/appearance_spec.rb
teacup-2.1.10 spec/ios/appearance_spec.rb
teacup-2.1.9 spec/ios/appearance_spec.rb
teacup-2.1.8 spec/ios/appearance_spec.rb
teacup-2.1.7 spec/ios/appearance_spec.rb
teacup-2.1.6 spec/ios/appearance_spec.rb
teacup-2.1.5 spec/ios/appearance_spec.rb
teacup-2.1.4 spec/ios/appearance_spec.rb
teacup-2.1.3 spec/ios/appearance_spec.rb
teacup-2.1.2 spec/ios/appearance_spec.rb