                 aView.pin.left().maxWidth(150)
                 expect(aView.frame).to(equal(CGRect(x: 0.0, y: 100.0, width: 150.0, height: 60.0)))
             }
+            
+            it("should adjust the width of aView") {
+                aView.frame = CGRect(x: 40, y: 100, width: 200, height: 60)
+                
+                aView.pin.left().maxWidth(25%)
+                expect(aView.frame).to(equal(CGRect(x: 0.0, y: 100.0, width: 100.0, height: 60.0)))
+            }
         
             it("should adjust the width of aView") {
                 aView.pin.left().maxWidth(150).marginLeft(50)

                aView.pin.top().maxHeight(150)
                expect(aView.frame).to(equal(CGRect(x: 40.0, y: 0.0, width: 100.0, height: 150.0)))
            }

            it("should adjust the height of aView") {
                aView.pin.top().maxHeight(150).marginTop(50)

                
                aView.pin.top().minHeight(50)
                expect(aView.frame).to(equal(CGRect(x: 40.0, y: 0.0, width: 25.0, height: 50.0)))
            }
            
            it("should adjust the height of aView") {
                aView.frame = CGRect(x: 40, y: 100, width: 25, height: 30)
                
                aView.pin.top().minHeight(25%)
                expect(aView.frame).to(equal(CGRect(x: 40.0, y: 0.0, width: 25.0, height: 100.0)))
            }
            
            it("should adjust the height of aView") {
