From 4c53c8a8d444bcf6cfae1391afad2db5146b002a 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 --- seed/challenges/bootstrap.json | 1 + 1 file changed, 1 insertion(+) diff --git a/seed/challenges/bootstrap.json b/seed/challenges/bootstrap.json index 4306f0b5f7..816e7acf29 100644 --- a/seed/challenges/bootstrap.json +++ b/seed/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.')" ],