Fixes transparent color test to use correct `background` declaration.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Sat, 7 Nov 2015 16:16:43 +0000 (16:16 +0000)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Tue, 10 Nov 2015 14:57:48 +0000 (14:57 +0000)
Thanks to @alfaproject for spotting it.

test/integration-test.js

index b99cad4..8897ffb 100644 (file)
@@ -1159,9 +1159,9 @@ vows.describe('integration tests')
         'a{background:linear-gradient(0,#000,hsla(120,100%,50%,0))}',
         'a{background:linear-gradient(0,#000,hsla(120,100%,50%,0))}'
       ],
-      'removes only right transparent colors': [
-        'a{background-color:linear-gradient(0,#000,hsla(120,100%,50%,0)),rgba(0,0,0,0)}',
-        'a{background-color:linear-gradient(0,#000,hsla(120,100%,50%,0)),rgba(0,0,0,0)}'
+      'keeps transparent color in layered background': [
+        'a{background:linear-gradient(0,#000,hsla(120,100%,50%,0)),rgba(0,0,0,0)}',
+        'a{background:linear-gradient(0,#000,hsla(120,100%,50%,0)),rgba(0,0,0,0)}'
       ]
     })
   )