Updates css() tests to use hex rather than color names

This commit is contained in:
Yehuda Katz 2009-07-13 19:24:23 +00:00
parent 3595102154
commit 4ae7234736

View file

@ -85,7 +85,7 @@ test("css(String, Function)", function() {
try { try {
expect(3); expect(3);
var colors = ["red", "green", "blue"]; var colors = ["#ff0000", "#00ff00", "#0000ff"];
jQuery("<div id='cssFunctionTest'><div class='cssFunction'></div>" + jQuery("<div id='cssFunctionTest'><div class='cssFunction'></div>" +
"<div class='cssFunction'></div>" + "<div class='cssFunction'></div>" +
@ -116,7 +116,7 @@ test("css(Object) where values are Functions", function() {
try { try {
expect(3); expect(3);
var colors = ["red", "green", "blue"]; var colors = ["#ff0000", "#00ff00", "#0000ff"];
jQuery("<div id='cssFunctionTest'><div class='cssFunction'></div>" + jQuery("<div id='cssFunctionTest'><div class='cssFunction'></div>" +
"<div class='cssFunction'></div>" + "<div class='cssFunction'></div>" +