From 1b227d658d4ad4038f602e573c49e814dee5dd64 Mon Sep 17 00:00:00 2001 From: LumenTeun Date: Sun, 31 May 2015 19:15:20 +0200 Subject: [PATCH] Improves 'Responsively Style Checkboxes' --- seed_data/challenges/bootstrap.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seed_data/challenges/bootstrap.json b/seed_data/challenges/bootstrap.json index 97fce6af97..e6f80586a6 100644 --- a/seed_data/challenges/bootstrap.json +++ b/seed_data/challenges/bootstrap.json @@ -1141,8 +1141,8 @@ "You can use Bootstrap's col-xs-* classes on form elements, too! This way, our checkboxes will be evenly spread out across the page, regardless of how wide the screen resolution is." ], "tests": [ - "assert($('.row').length > 3, 'Wrap your all of your checkboxes inside one div with the class \"row\".')", - "assert($('.col-xs-4').length > 6, 'Wrap each of your checkboxes inside its own div with the class \"col-xs-4\".')" + "assert($('div.row:has(input[type=\\'checkbox\\'])').length > 0, 'Wrap all of your checkboxes inside one div with the class \"row\".')", + "assert($('div.col-xs-4:has(input[type=\\'checkbox\\'])').length > 2, 'Wrap each of your checkboxes inside its own div with the class \"col-xs-4\".')" ], "challengeSeed": [ "",