diff --git a/seed/challenges/bootstrap.json b/seed/challenges/bootstrap.json index f917a16bb2f..80715630fb7 100644 --- a/seed/challenges/bootstrap.json +++ b/seed/challenges/bootstrap.json @@ -96,9 +96,10 @@ "Fortunately, with Bootstrap, all we need to do is add the img-responsive class to your image. Do this, and the image should perfectly fit the width of your page." ], "tests": [ - "assert($(\"img\").length > 1, 'You should have a total of two images.')", - "assert($(\"img:eq(1)\").attr(\"src\") === \"http://bit.ly/fcc-running-cats\", 'Your new image should have an src of http://bit.ly/fcc-running-cats.')", - "assert($(\"img:eq(1)\").hasClass(\"img-responsive\"), 'Your new image should have the class img-responsive.')" + "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)\").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.')" ], "challengeSeed": [ "",