From 9aa8cd261abec819ff392e43a965bc0a8f8ff5f3 Mon Sep 17 00:00:00 2001 From: John OKeefe Date: Thu, 23 Feb 2017 20:18:32 -0800 Subject: [PATCH] Fix for failing test on width css property --- .../01-responsive-web-design/applied-visual-design.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/01-responsive-web-design/applied-visual-design.json b/seed/challenges/01-responsive-web-design/applied-visual-design.json index f52aff3dd2..99f110562b 100644 --- a/seed/challenges/01-responsive-web-design/applied-visual-design.json +++ b/seed/challenges/01-responsive-web-design/applied-visual-design.json @@ -126,7 +126,7 @@ "" ], "tests": [ - "assert($('.fullCard').css('width') == '245px', 'message: Your code should change the width property of the card to 245 pixels by using the fullCard class selector.');" + "assert(code.match(/.fullCard\\s*{[\\s\\S][^}]*\\n*^\\s*width\\s*:\\s*245px\\s*;/gm), 'message: Your code should change the width property of the card to 245 pixels by using the fullCard class selector.');" ], "solutions": [], "hints": [],