spec/ios/frame_helper_spec.rb in motion-kit-0.10.11 vs spec/ios/frame_helper_spec.rb in motion-kit-0.11.0

- old
+ new

@@ -7,19 +7,19 @@ @layout.root = top_view @view_size = CGSize.new(8, 10) @view = UIView.alloc.initWithFrame([[0, 0], @view_size]) @view.backgroundColor = UIColor.whiteColor - @view.motion_kit_id = :view + @layout.name_element(@view, :view) @superview_size = CGSize.new(60, 40) @superview = UIView.alloc.initWithFrame([[0, 0], @superview_size]) @superview.addSubview(@view) @superview.backgroundColor = UIColor.blueColor @another_view = UIView.alloc.initWithFrame([[10, 100], [120, 48]]) @another_view.backgroundColor = UIColor.redColor - @another_view.motion_kit_id = :another_view + @layout.name_element(@another_view, :another_view) top_view.addSubview(@another_view) top_view.addSubview(@superview) @label = UILabel.alloc.init