diff --git a/seed_data/challenges/basic-html5-and-css.json b/seed_data/challenges/basic-html5-and-css.json index 61d7a1eda7..da66eff576 100644 --- a/seed_data/challenges/basic-html5-and-css.json +++ b/seed_data/challenges/basic-html5-and-css.json @@ -805,8 +805,8 @@ "tests": [ "assert($('img').hasClass('smaller-image'), 'Your img element should have the class \"smaller-image\".')", "assert($('img').hasClass('thick-green-border'), 'Your img element should have the class \"thick-green-border\".')", - "assert(parseInt($('img').css('border-top-width')), 'Give your image a border width of 10px.')", - "assert(new RegExp('border-style:.?solid', 'gi').test(editor), 'Give your image a border style of \"solid\".')" + "assert($('img').hasClass('thick-green-border') && parseInt($('img').css('border-top-width')), 'Give your image a border width of 10px.')", + "assert(new RegExp('solid', 'gi').test(editor), 'Give your image a border style of \"solid\".')" ], "challengeSeed": [ "",