Skip to content

Commit

Permalink
Merge pull request freeCodeCamp#4101 from ltegman/fix/waypoint-mobile…
Browse files Browse the repository at this point in the history
…-responsive-images-test-3509

Fix waypoint mobile responsive images test
  • Loading branch information
Aniruddh Agarwal committed Nov 3, 2015
2 parents 0e4f85e + 4c53c8a commit a4c707d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions seed/challenges/bootstrap.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 <code>img-responsive</code>.')",
"assert(!$(\"img:eq(1)\").hasClass(\"smaller-image\"), 'Your new image should not have the class <code>smaller-image</code>.')",
"assert($(\"img:eq(1)\").attr(\"src\") === \"http://bit.ly/fcc-running-cats\", 'Your new image should have a <code>src</code> of <code>http&#58;//bit.ly/fcc-running-cats</code>.')",
"assert(editor.match(/<img/g) && editor.match(/<img.*>/g).length === 2 && editor.match(/<img/g).length === 2, 'Make sure your new <code>img</code> element has a closing angle bracket.')"
],
Expand Down

0 comments on commit a4c707d

Please sign in to comment.