From 449f2a09055c2180edb6b4d6fcb08d0776aa6ce3 Mon Sep 17 00:00:00 2001 From: benmcmahon100 Date: Mon, 17 Aug 2015 21:09:40 +0100 Subject: [PATCH] fixed the tests on a challenge --- challenges/jquery.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/jquery.json b/challenges/jquery.json index 3e5e600db4..e6fd81b14d 100644 --- a/challenges/jquery.json +++ b/challenges/jquery.json @@ -624,7 +624,7 @@ "Here's an example of how you would use the parent() function: $(\"#left-well\").parent().css(\"background-color\", \"blue\")" ], "tests": [ - "assert($(\"#left-well\").css(\"background-color\") === 'rgb(255, 0, 0)' || $(\"#left-well\").css(\"background-color\") === '#ff0000' $(\"#left-well\").css(\"background-color\") === 'red', 'Your left-well element should have a red background.')", + "assert($(\"#left-well\").css(\"background-color\") === 'red', 'Your left-well element should have a red background.')", "assert(editor.match(/\\.parent\\(\\)\\.css/g), 'You should use the parent() function to modify this element.')", "assert(editor.match(/
/g), 'Only use jQuery to add these classes to the element.')" ],