From 94b19a3f80bfb47092c8eafe7ab18038afd7c919 Mon Sep 17 00:00:00 2001 From: alanbares Date: Fri, 9 Sep 2016 13:18:38 -0700 Subject: [PATCH] Fix first test on add element to boostrap well challenge to check for 3 buttons in each well div --- .../01-front-end-development-certification/bootstrap.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/01-front-end-development-certification/bootstrap.json b/challenges/01-front-end-development-certification/bootstrap.json index 6c9077438b..2211eda340 100644 --- a/challenges/01-front-end-development-certification/bootstrap.json +++ b/challenges/01-front-end-development-certification/bootstrap.json @@ -2088,7 +2088,7 @@ "" ], "tests": [ - "assert($(\"div.well\").children(\"button\").length > 5, 'message: Nest three button elements within each of your div elements with class well.');", + "assert($(\"div.well:eq(0)\").children(\"button\").length === 3 && $(\"div.well:eq(1)\").children(\"button\").length === 3, 'message: Nest three button elements within each of your div elements with class well.');", "assert($(\"button\") && $(\"button\").length > 5, 'message: You should have a total of 6 button elements.');", "assert(code.match(/<\\/button>/g) && code.match(/