Skip to content
Permalink
Browse files
Updates css() tests to use hex rather than color names
  • Loading branch information
wycats committed Jul 13, 2009
1 parent 3595102 commit 4ae7234
Showing 1 changed file with 2 additions and 2 deletions.
@@ -85,7 +85,7 @@ test("css(String, Function)", function() {
try {
expect(3);

var colors = ["red", "green", "blue"];
var colors = ["#ff0000", "#00ff00", "#0000ff"];

jQuery("<div id='cssFunctionTest'><div class='cssFunction'></div>" +
"<div class='cssFunction'></div>" +
@@ -116,7 +116,7 @@ test("css(Object) where values are Functions", function() {
try {
expect(3);

var colors = ["red", "green", "blue"];
var colors = ["#ff0000", "#00ff00", "#0000ff"];

jQuery("<div id='cssFunctionTest'><div class='cssFunction'></div>" +
"<div class='cssFunction'></div>" +

0 comments on commit 4ae7234

Please sign in to comment.