Skip to content

Commit

Permalink
restored original media controller test
Browse files Browse the repository at this point in the history
  • Loading branch information
erikyuzwa committed Sep 4, 2015
1 parent 3b0ba5f commit 0f02202
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/unit/player.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,7 @@ test('should load a media controller', function(){
]
});

var it = player.el().children;
//ok(player.el().children[0].className.indexOf('vjs-tech') !== -1, 'media controller loaded');
ok(player.el().children[it.length-1].className.indexOf('vjs-tech') !== -1, 'media controller loaded');
ok(player.el().children[0].className.indexOf('vjs-tech') !== -1, 'media controller loaded');

player.dispose();
});
Expand Down

0 comments on commit 0f02202

Please sign in to comment.