Merge pull request #4774 from ltegman/fix/wp-add-fa-icon-tests

Fix Waypoint Add Font Awesome Icons Tests
pull/4785/head
Rex Schrader 2015-11-29 00:16:24 -08:00
commit 066fbed7dd
1 changed files with 1 additions and 0 deletions

View File

@ -1073,6 +1073,7 @@
], ],
"tests": [ "tests": [
"assert($(\"i\").hasClass(\"fa fa-thumbs-up\"), 'Add an <code>i</code> element with the classes <code>fa</code> and <code>fa-thumbs-up</code>.')", "assert($(\"i\").hasClass(\"fa fa-thumbs-up\"), 'Add an <code>i</code> element with the classes <code>fa</code> and <code>fa-thumbs-up</code>.')",
"assert($(\"i.fa-thumbs-up\").parent().text().match(/Like/gi), 'Your <code>fa-thumbs-up</code> icon should be located within the Like button.')",
"assert($(\"button\").children(\"i\").length > 0, 'Nest your <code>i</code> element within your <code>button</code> element.')", "assert($(\"button\").children(\"i\").length > 0, 'Nest your <code>i</code> element within your <code>button</code> element.')",
"assert(editor.match(/<\\/i>/g), 'Make sure your <code>i</code> element has a closing tag.')" "assert(editor.match(/<\\/i>/g), 'Make sure your <code>i</code> element has a closing tag.')"
], ],