From de0168c22dec84f61850a87425f0b84c24cbcb9b Mon Sep 17 00:00:00 2001 From: alexr101 Date: Wed, 11 Jan 2017 11:57:07 -0700 Subject: [PATCH] fixed selector and length properties of div.row test --- .../01-front-end-development-certification/bootstrap.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/challenges/01-front-end-development-certification/bootstrap.json b/challenges/01-front-end-development-certification/bootstrap.json index 0bc7e074b9..7f1b97a654 100644 --- a/challenges/01-front-end-development-certification/bootstrap.json +++ b/challenges/01-front-end-development-certification/bootstrap.json @@ -863,7 +863,7 @@ "" ], "tests": [ - "assert($(\"div.row:has(button)\").length > 0, 'message: Your buttons should all be nested within the same div element with the class row.');", + "assert($(\"div.row button\").length === 3, 'message: Your buttons should all be nested within the same div element with the class row.');", "assert($(\"div.col-xs-4:has(button)\").length > 2, 'message: Each of your Bootstrap buttons should be nested within its own div element with the class col-xs-4.');", "assert(code.match(/<\\/button>/g) && code.match(/