This commit is contained in:
David Seifried 2011-06-23 15:41:22 -04:00
Родитель 84d0264b9c
Коммит 8bf4b3a4b9
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -1,7 +1,7 @@
test("Popcorn attribution Plugin", function () {
var popped = Popcorn("#video"),
expects = 9,
expects = 10,
count = 0,
setupId,
attributiondiv = document.getElementById('attribdiv');
@ -28,7 +28,6 @@ test("Popcorn attribution Plugin", function () {
end: 2, // seconds
nameofwork: "A Shared Culture",
copyrightholder:"Jesse Dylan",
license: "CC-BY-N6",
licenseurl: "http://creativecommons.org/licenses/by-nc/2.0/",
target: 'attribdiv'
} )
@ -60,6 +59,9 @@ test("Popcorn attribution Plugin", function () {
equals (attributiondiv.children[1].style.display , "inline", "second attribution is visible on the page" );
plus();
equals ( typeof popped.data.trackEvents.byStart[ 1 ]._license, "undefined", "undefined license is properly being handled" );
plus();
});
popped.exec( 4, function() {