diff --git a/seed/challenges/01-front-end-development-certification/bootstrap.json b/seed/challenges/01-front-end-development-certification/bootstrap.json index a06c94acaa6..098ebc5885f 100644 --- a/seed/challenges/01-front-end-development-certification/bootstrap.json +++ b/seed/challenges/01-front-end-development-certification/bootstrap.json @@ -1107,8 +1107,8 @@ "" ], "tests": [ - "assert($(\"i\").hasClass(\"fa fa-thumbs-up\"), 'message: Add an i element with the classes fa and fa-thumbs-up.');", - "assert($(\"i.fa-thumbs-up\").parent().text().match(/Like/gi) && $(\".btn-primary > i\").hasClass(\"fa fa-thumbs-up\"), 'message: Your fa-thumbs-up icon should be located within the Like button.');", + "assert($(\"i\").is(\".fa.fa-thumbs-up\"), 'message: Add an i element with the classes fa and fa-thumbs-up.');", + "assert($(\"i.fa-thumbs-up\").parent().text().match(/Like/gi) && $(\".btn-primary > i\").is(\".fa.fa-thumbs-up\"), 'message: Your fa-thumbs-up icon should be located within the Like button.');", "assert($(\"button\").children(\"i\").length > 0, 'message: Nest your i element within your button element.');", "assert(code.match(/<\\/i>/g), 'message: Make sure your i element has a closing tag.');" ], @@ -1187,9 +1187,9 @@ "" ], "tests": [ - "assert($(\".btn-danger > i\").hasClass(\"fa fa-trash\"), 'message: You should add a <i class=\"fa fa-trash\"></i> within your delete button element.');", - "assert($(\".btn-info > i\").hasClass(\"fa fa-info-circle\"), 'message: You should add a <i class=\"fa fa-info-circle\"></i> within your info button element.');", - "assert(code.match(/<\\/i>/g) && code.match(/<\\/i>/g).length > 2 && $(\".btn-primary > i\").hasClass(\"fa fa-thumbs-up\"), 'message: Make sure each of your i elements has a closing tag and <i class=\"fa fa-thumbs-up\"></i> is in your like button element.');" + "assert($(\".btn-danger > i\").is(\".fa.fa-trash\"), 'message: You should add a <i class=\"fa fa-trash\"></i> within your delete button element.');", + "assert($(\".btn-info > i\").is(\".fa.fa-info-circle\"), 'message: You should add a <i class=\"fa fa-info-circle\"></i> within your info button element.');", + "assert(code.match(/<\\/i>/g) && code.match(/<\\/i>/g).length > 2 && $(\".btn-primary > i\").is(\".fa.fa-thumbs-up\"), 'message: Make sure each of your i elements has a closing tag and <i class=\"fa fa-thumbs-up\"></i> is in your like button element.');" ], "type": "waypoint", "challengeType": 0,