Permalink
Browse files

Set value to 0 test

  • Loading branch information...
Koen Bok
Koen Bok committed Apr 30, 2013
1 parent 5e5b065 commit 62dfbf3bcea3918cbb6599d4778b59bd3276a58f
Showing with 10 additions and 0 deletions.
  1. +10 −0 test/tests/view.coffee
View
@@ -48,6 +48,16 @@ describe "View", ->
view.y.should.equal frame.y
view.width.should.equal frame.width
view.height.should.equal frame.height
it "should set frame to 0", ->
view = createView()
frame = {x:200, y:200, width:0, height:0}
view.frame = frame
# view.frame.should.eql frame
view.x.should.equal frame.x
view.y.should.equal frame.y
view.width.should.equal frame.width
view.height.should.equal frame.height
describe "Scale", ->

0 comments on commit 62dfbf3

Please sign in to comment.