                 // Then
                 expect(view.frame.width) == 60
                 expect(view.frame.height) == 20
+                expect(view.constraints.count) == 2
             }
 
             it("should apply diff to view correctly.") {

                // Then
                expect(view.frame.width) == 0
                expect(view.frame.height) == 0
            }
        }
    }

                // When
                view.applyDiffTo(view, newConfiguration: ComponentTarget(name: "name").width(50).height(80), dataSource: nil, updatingStrategy: .WhenComponentChanged)

                view.applyDiffTo(view, newConfiguration: ComponentTarget(name: "name").width(60).height(20), dataSource: nil, updatingStrategy: .Always)

                superview.addSubview(view)
                view.setNeedsLayout()
