fix wording of src attribute assertion's message to be consistent with other messages in waypoint-make-images-mobile-responsive challenge

This commit is contained in:
Pavel Tsurbeleu
2015-09-16 18:10:16 -07:00
parent 7006b1207c
commit 723a8ffb76

View File

@ -99,7 +99,7 @@
"assert($(\"img\").length === 2, 'You should have a total of two images.')",
"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.')",
"assert($(\"img\").hasClass(\"img-responsive\"), 'Your new image should have the class <code>img-responsive</code>.')",
"assert(new RegExp(\"http://bit.ly/fcc-running-cats\", \"gi\").test($(\"img.img-responsive\").attr(\"src\")), 'Add a second image with the <code>src</code> of <code>http&#58;//bit.ly/fcc-running-cats</code>.')"
"assert(new RegExp(\"http://bit.ly/fcc-running-cats\", \"gi\").test($(\"img.img-responsive\").attr(\"src\")), 'Your new image should have a <code>src</code> attribute of <code>http&#58;//bit.ly/fcc-running-cats</code>.')"
],
"challengeSeed": [
"<link href=\"http://fonts.googleapis.com/css?family=Lobster\" rel=\"stylesheet\" type=\"text/css\">",