Created
March 16, 2012 22:07
-
-
Save futuraprime/2053131 to your computer and use it in GitHub Desktop.
Video test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it("should change its media when prompted", function() { | |
var c = new C(config).placeAt(t); | |
c.prepareData(); | |
c.startup(); | |
c.set('media', feed_media); | |
//expect(c.media).toEqual(feed_media); | |
c._setupPlayer(); | |
debugger; | |
expect(t.querySelector('video').getAttribute('src')).toEqual(feed_media.url); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment