diff --git a/test/functionsSpec.js b/test/functionsSpec.js index 7fadb69..ee2ffbd 100644 --- a/test/functionsSpec.js +++ b/test/functionsSpec.js @@ -84,4 +84,11 @@ describe("Cross Browser Functions", function () { }); }); + it("should prefix a list of complex properties", function(done) { + render(property('prefix(-webkit, linear-gradient(-45deg, rgb(0,0,0) 25%, transparent 75%, transparent), linear-gradient(-45deg, #000 25%, transparent 75%, transparent))'), function(output, err) { + expect(output).toBe(property('-webkit-linear-gradient(-45deg, #000000 25%, transparent 75%, transparent),-webkit-linear-gradient(-45deg, #000 25%, transparent 75%, transparent)')); + done(); + }); + }); + });