From e34d920ee79383ce8681d52bec1c6c6b22ffa735 Mon Sep 17 00:00:00 2001 From: Quincy Larson Date: Tue, 26 May 2015 18:42:51 -0700 Subject: [PATCH] closes #588 --- seed_data/challenges/basic-html5-and-css.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seed_data/challenges/basic-html5-and-css.json b/seed_data/challenges/basic-html5-and-css.json index e3614e613c..f270077aa2 100644 --- a/seed_data/challenges/basic-html5-and-css.json +++ b/seed_data/challenges/basic-html5-and-css.json @@ -1395,8 +1395,8 @@ "Here's an example of a radio button: <label><input type='radio' name='indoor-outdoor'> Indoor</label>" ], "tests": [ - "assert($('input[type=\"radio\"').length > 1, 'Your webpage should have two radio button elements.')", - "assert($('input[type=\"radio\"').attr('name'), 'Both of your radio button should have name attributes with the same value.')", + "assert($('input[type=\"radio\"]').length > 1, 'Your webpage should have two radio button elements.')", + "assert($('input[type=\"radio\"]:nth-child(1)').attr('name') === 'indoor-outdoor', 'Give your radio buttons the name attribute of \"indoor-outdoor\".')", "assert($('label').length > 1, 'Each of your two radio button elements should be wrapped in a label element.')" ], "challengeSeed": [