Permalink
Browse files

Added failing assertion (issue #203)

  • Loading branch information...
1 parent c4cd3c0 commit 4cdaf278aae7a5fcc446944d481f5ca053984301 @kossnocorp kossnocorp committed Jun 17, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 test/fx.html
View
@@ -29,11 +29,13 @@ <h1>Zepto FX unit tests</h1>
$('#animtest').anim({
translate3d: '100px, 100px, 100px',
rotateZ: '90deg',
- opacity: 0.5
+ opacity: 0.5,
+ 'background-color': '#BADA55'
}, 2, 'ease-out');
t.assertEqual('translate3d(100px, 100px, 100px) rotateZ(90deg)', el.style.webkitTransform);
t.assertEqual('ease-out', el.style.webkitTransitionTimingFunction);
t.assertEqual('0.5', el.style.opacity);
+ t.assertEqual('#BADA55', el.style.backgroundColor.toUpperCase());
},
testDuration: function(t){

0 comments on commit 4cdaf27

Please sign in to comment.