From ffced214c27c971e76cf84bc72f00c7391f460c7 Mon Sep 17 00:00:00 2001 From: LumenTeun Date: Sun, 31 May 2015 19:09:40 +0200 Subject: [PATCH] Improves 'Responsively Style Radio Buttons' --- 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 316947bd06..97fce6af97 100644 --- a/seed_data/challenges/bootstrap.json +++ b/seed_data/challenges/bootstrap.json @@ -1056,8 +1056,8 @@ "You can use Bootstrap's col-xs-* classes on form elements, too! This way, our radio buttons will be evenly spread out across the page, regardless of how wide the screen resolution is." ], "tests": [ - "assert($('.row').length > 2, 'Wrap your all of your radio buttons inside one div with the class \"row\".')", - "assert($('.col-xs-6').length > 1, 'Wrap each of your radio buttons inside its own div with the class \"col-xs-6\".')" + "assert($('div.row:has(input[type=\\'radio\\'])').length > 0, 'Wrap all of your radio buttons inside one div with the class \"row\".')", + "assert($('div.col-xs-6:has(input[type=\\'radio\\'])').length > 1, 'Wrap each of your radio buttons inside its own div with the class \"col-xs-6\".')" ], "challengeSeed": [ "",