Browse Source

Added more complex prefix test.

master
Michael Hellein 11 years ago
parent
commit
386dfd7767
  1. 7
      test/functionsSpec.js

7
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();
});
});
});

Loading…
Cancel
Save