spec/ios/stylesheet_spec.rb in teacup-2.2.2 vs spec/ios/stylesheet_spec.rb in teacup-2.3.0

- old
+ new

@@ -23,11 +23,13 @@ before do @stylesheet = Teacup::Stylesheet.new do style :example_button, frame: [[0, 0], [100, 100]] - style :example_label, :example_textfield, + style :example_label, backgroundColor: :blue + + style :example_textfield, extends: :example_label end end it 'should let you define properties for a stylename' do @stylesheet.query(:example_button)[:frame].should == [[0, 0], [100, 100]]