From 8ae527ecb769619621d3539597eae2c906645f53 Mon Sep 17 00:00:00 2001 From: LumenTeun Date: Sun, 31 May 2015 18:56:57 +0200 Subject: [PATCH] Improves 'Add Font Awesome Icons to our Buttons' --- seed_data/challenges/bootstrap.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed_data/challenges/bootstrap.json b/seed_data/challenges/bootstrap.json index eab6cf5978..5b3c9398cd 100644 --- a/seed_data/challenges/bootstrap.json +++ b/seed_data/challenges/bootstrap.json @@ -884,7 +884,7 @@ "Go ahead and add a <i class=\"fa fa-thumbs-up\"></i> within your like button's element." ], "tests": [ - "assert($('.fa-thumbs-up').length > 0, 'Add a i element with the classes \"fa\" and \"fa-thumbs-up\".')", + "assert($('i').hasClass('fa fa-thumbs-up'), 'Add an i element with the classes \"fa\" and \"fa-thumbs-up\".')", "assert($('button').children('i').length > 0, 'Wrap your i element within your button element.')", "assert(editor.match(/<\\/i>/g), 'Be sure to close your i element with a closing tag.')" ],