Commit 32ca9887 by polesye

Fix video voulme test.

parent 322b17ee
...@@ -701,8 +701,13 @@ ...@@ -701,8 +701,13 @@
}); });
it('set the player volume', function() { it('set the player volume', function() {
var expectedValue = 60,
realValue;
player.setVolume(60); player.setVolume(60);
expect(player.getVolume()).toEqual(0.6); realValue = Math.round(player.getVolume()*100);
expect(realValue).toEqual(expectedValue);
}); });
}); });
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment