Permalink
Browse files

Add test for scroll.content.clip

  • Loading branch information...
Koen Bok
Koen Bok committed Feb 16, 2016
1 parent c6b4f3f commit a3d060386088bf54d80775175cb83fe8b4456be6
Showing with 4 additions and 0 deletions.
  1. +4 −0 test/tests/ScrollComponentTest.coffee
@@ -81,3 +81,7 @@ describe "ScrollComponent", ->
it "should throw a warning on no layer", ->
f = -> ScrollComponent.wrap()
f.should.throw()
it "should set content clip to true", ->
scroll = new ScrollComponent()
scroll.content.clip.should.equal true

0 comments on commit a3d0603

Please sign in to comment.