Fixed route on waypoint-label-bootstrap-wells and the tests. Fixed the test messages on waypoint-give-each-element-a-unique-id

This commit is contained in:
benmcmahon100
2015-08-03 16:42:26 +01:00
parent 10156ea245
commit 84c8eecd3b

View File

@ -1874,7 +1874,7 @@
}, },
{ {
"id": "bad87fee1348bd9aec908854", "id": "bad87fee1348bd9aec908854",
"name": "Waypoint: Label Boostrap Wells", "name": "Waypoint: Label Bootstrap Wells",
"dashedName": "waypoint-label-bootstrap-wells", "dashedName": "waypoint-label-bootstrap-wells",
"difficulty": 2.26, "difficulty": 2.26,
"description": [ "description": [
@ -1883,9 +1883,9 @@
"Above your right-well, inside its \"col-xs-6\" <code>div</code> element, add a <code>h4</code> element with the text \"#right-well\"." "Above your right-well, inside its \"col-xs-6\" <code>div</code> element, add a <code>h4</code> element with the text \"#right-well\"."
], ],
"tests": [ "tests": [
"assert($('.col-xs-12').children('h4') && $('.col-xs-12').children('h4').length > 1, 'Add an <code>h4</code> element to each of your <code>&#60;div class='col-xs-6'&#62;</code> elements.')", "assert($('.col-xs-12').children('h4') && $('.col-xs-12').children('h4').length > 1, 'Add an <code>h4</code> element to each of your <code>&#60;div class=\\'col-xs-6\\'&#62;</code> elements.');",
"assert(new RegExp('#left-well','gi').test($('h4').text()), 'One <code>h4</code> element should have the text \"#left-well\".')", "assert(new RegExp('#left-well','gi').test($('h4').text()), 'One <code>h4</code> element should have the text \"#left-well\".');",
"assert(new RegExp('#right-well','gi').test($('h4').text()), 'One <code>h4</code> element should have the text \"#right-well\".')" "assert(new RegExp('#right-well','gi').test($('h4').text()), 'One <code>h4</code> element should have the text \"#right-well\".');"
], ],
"challengeSeed": [ "challengeSeed": [
"<div class='container-fluid'>", "<div class='container-fluid'>",
@ -1930,12 +1930,12 @@
"Give each of your buttons a unique id like, starting with \"target1\" and ending with \"target6\"." "Give each of your buttons a unique id like, starting with \"target1\" and ending with \"target6\"."
], ],
"tests": [ "tests": [
"assert($('#target1') && $('#target1').length > 0, 'One <code>button</code> element should have the id \"#target1\".')", "assert($('#target1') && $('#target1').length > 0, 'One <code>button</code> element should have the id \"target1\".')",
"assert($('#target2') && $('#target2').length > 0, 'One <code>button</code> element should have the id \"#target2\".')", "assert($('#target2') && $('#target2').length > 0, 'One <code>button</code> element should have the id \"target2\".')",
"assert($('#target3') && $('#target3').length > 0, 'One <code>button</code> element should have the id \"#target3\".')", "assert($('#target3') && $('#target3').length > 0, 'One <code>button</code> element should have the id \"target3\".')",
"assert($('#target4') && $('#target4').length > 0, 'One <code>button</code> element should have the id \"#target4\".')", "assert($('#target4') && $('#target4').length > 0, 'One <code>button</code> element should have the id \"target4\".')",
"assert($('#target5') && $('#target5').length > 0, 'One <code>button</code> element should have the id \"#target5\".')", "assert($('#target5') && $('#target5').length > 0, 'One <code>button</code> element should have the id \"target5\".')",
"assert($('#target6') && $('#target6').length > 0, 'One <code>button</code> element should have the id \"#target6\".')" "assert($('#target6') && $('#target6').length > 0, 'One <code>button</code> element should have the id \"target6\".')"
], ],
"challengeSeed": [ "challengeSeed": [
"<div class='container-fluid'>", "<div class='container-fluid'>",