fix(seed): Squashed a bug from Disable an element using Jquery

pull/18182/head
Tarun Singh 2018-02-06 21:23:07 +05:30 committed by Stuart Taylor
parent d3b663338c
commit 9f7f0077f2
1 changed files with 1 additions and 1 deletions

View File

@ -792,7 +792,7 @@
"</div>"
],
"tests": [
"assert($(\"#target1\") && $(\"#target1\").prop(\"disabled\"), 'message: Disable your <code>target1</code> button.');",
"assert($(\"#target1\") && $(\"#target1\").prop(\"disabled\") && code.match(/[\"']disabled[\"'],( true|true)/g), 'message: Disable your <code>target1</code> button.');",
"assert($(\"#target2\") && !$(\"#target2\").prop(\"disabled\"), 'message: Do not disable any other buttons.');",
"assert(!code.match(/disabled[^<]*>/g), 'message: Only use jQuery to add these classes to the element.');"
],