From 93d98e4fef64d992032f92b3660b019909849f54 Mon Sep 17 00:00:00 2001 From: Logan Tegman Date: Sun, 1 Nov 2015 12:14:34 -0800 Subject: [PATCH] Fix waypoint mobile responsive images test Closes #3509 --- challenges/bootstrap.json | 1 + 1 file changed, 1 insertion(+) diff --git a/challenges/bootstrap.json b/challenges/bootstrap.json index 4306f0b5f7..816e7acf29 100644 --- a/challenges/bootstrap.json +++ b/challenges/bootstrap.json @@ -100,6 +100,7 @@ "tests": [ "assert($(\"img\").length === 2, 'You should have a total of two images.')", "assert($(\"img:eq(1)\").hasClass(\"img-responsive\"), 'Your new image should be below your old one and have the class img-responsive.')", + "assert(!$(\"img:eq(1)\").hasClass(\"smaller-image\"), 'Your new image should not have the class smaller-image.')", "assert($(\"img:eq(1)\").attr(\"src\") === \"http://bit.ly/fcc-running-cats\", 'Your new image should have a src of http://bit.ly/fcc-running-cats.')", "assert(editor.match(//g).length === 2 && editor.match(/img element has a closing angle bracket.')" ],