From c4c1a44c48bb19a0023d83f3c9ecb964992f0467 Mon Sep 17 00:00:00 2001 From: Quincy Larson Date: Sun, 28 Jun 2015 18:03:11 -0700 Subject: [PATCH] make the Mobile Responsive Images challenge more robust fixes #998 --- seed/challenges/bootstrap.json | 1 + 1 file changed, 1 insertion(+) diff --git a/seed/challenges/bootstrap.json b/seed/challenges/bootstrap.json index 2fb852ade8d..2be8abc430b 100644 --- a/seed/challenges/bootstrap.json +++ b/seed/challenges/bootstrap.json @@ -16,6 +16,7 @@ "Now all you need to do is add the \"img-responsive\" class to your image." ], "tests": [ + "assert($('img').length > 1, 'You should have a total of two images.')", "assert($('img').hasClass('img-responsive'), 'Your new image should have the class \"img-responsive\".')", "assert(new RegExp('http://bit.ly/fcc-kittens2', 'gi').test($('img.img-responsive').attr('src')), 'Add a second image with the src of http://bit.ly/fcc-kittens2.')" ],