From 72e4428cc8bedc633ad543120f37bc12a138d49a Mon Sep 17 00:00:00 2001 From: LumenTeun Date: Sun, 31 May 2015 19:00:42 +0200 Subject: [PATCH] Improves 'Add Font Awesome Icons all of our 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 5b3c9398cdd..316947bd067 100644 --- a/seed_data/challenges/bootstrap.json +++ b/seed_data/challenges/bootstrap.json @@ -971,8 +971,8 @@ "Add <i class=\"fa fa-info-circle\"></i> within your info button's element, and a <i class=\"fa fa-trash\"></i> within your delete button." ], "tests": [ - "assert($('.fa-trash').length > 0, 'You should add a <i class=\"fa fa-trash\"></i> within your delete button element.')", - "assert($('.fa-info-circle').length > 0, 'You should add a <i class=\"fa fa-info-circle\"></i> within your info button element.')" + "assert($('i').hasClass('fa fa-trash'), 'You should add a <i class=\"fa fa-trash\"></i> within your delete button element.')", + "assert($('i').hasClass('fa fa-info-circle'), 'You should add a <i class=\"fa fa-info-circle\"></i> within your info button element.')" ], "challengeSeed": [ "",