Tests source of second image in mobile responsive challenge. Closes #661

This commit is contained in:
terakilobyte
2015-05-27 16:01:46 -04:00
parent 880a51c154
commit 5f752933d9

View File

@ -16,7 +16,7 @@
],
"tests": [
"assert($('img').hasClass('img-responsive'), 'Your new image should have the class \"img-responsive\".')",
"assert($('img').length > 1, 'You should add a second image with the <code>src</code> of <code>http&#58;//bit.ly/fcc-kittens2</code>.')"
"assert(new RegExp('http://bit.ly/fcc-kittens2', 'gi').text($('img').prop('src')), 'You should add a second image with the <code>src</code> of <code>http&#58;//bit.ly/fcc-kittens2</code>.')"
],
"challengeSeed": [
"<link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>",