Skip to content

Commit

Permalink
Make test compat with phantom
Browse files Browse the repository at this point in the history
  • Loading branch information
koenbok committed Jul 22, 2014
1 parent 20a26c1 commit 51041c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/tests/VideoLayerTest.coffee
Expand Up @@ -5,4 +5,5 @@ describe "VideoLayer", ->
it "should create video", -> it "should create video", ->


videoLayer = new VideoLayer video:"static/test.mp4" videoLayer = new VideoLayer video:"static/test.mp4"
videoLayer._element.innerHTML.should.equal '<video src="static/test.mp4" style="width: 100%; height: 100%;"></video>' # videoLayer._element.innerHTML.should.equal '<video src="static/test.mp4" style="width: 100%; height: 100%;"></video>'
videoLayer.player.src.should.equal "static/test.mp4"

0 comments on commit 51041c6

Please sign in to comment.