From 0583f0a0453a6814a5aa247b0b95854a942f7131 Mon Sep 17 00:00:00 2001 From: Quincy Larson Date: Sun, 31 May 2015 13:08:54 -0700 Subject: [PATCH] fix #773 --- 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 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": [ "",