spec/unit/view_helper_spec.rb in ProMotion-0.7.8 vs spec/unit/view_helper_spec.rb in ProMotion-1.0.0

- old
+ new

@@ -4,11 +4,11 @@ ->(obj) { CGRectEqualToRect obj, rect } end before do @dummy = UIView.alloc.initWithFrame CGRectZero - @dummy.extend ProMotion::ViewHelper + @dummy.extend ProMotion::Styling end it "should allow you to set attributes" do @dummy.set_attributes @dummy, backgroundColor: UIColor.redColor @dummy.backgroundColor.should == UIColor.redColor @@ -76,10 +76,10 @@ describe "set_easy_attributes" do before do @dummy = UIView.alloc.initWithFrame CGRectZero - @dummy.extend ProMotion::ViewHelper + @dummy.extend ProMotion::Styling @parent = UIView.alloc.initWithFrame(CGRectMake(0, 0, 320, 480)) @child = UIView.alloc.initWithFrame(CGRectZero) end