From 84c8eecd3bc906335b6544f1443d687ea7b842ae Mon Sep 17 00:00:00 2001 From: benmcmahon100 Date: Mon, 3 Aug 2015 16:42:26 +0100 Subject: [PATCH] Fixed route on waypoint-label-bootstrap-wells and the tests. Fixed the test messages on waypoint-give-each-element-a-unique-id --- challenges/bootstrap.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/challenges/bootstrap.json b/challenges/bootstrap.json index ea01b15573..bb4d81430e 100644 --- a/challenges/bootstrap.json +++ b/challenges/bootstrap.json @@ -1874,7 +1874,7 @@ }, { "id": "bad87fee1348bd9aec908854", - "name": "Waypoint: Label Boostrap Wells", + "name": "Waypoint: Label Bootstrap Wells", "dashedName": "waypoint-label-bootstrap-wells", "difficulty": 2.26, "description": [ @@ -1883,9 +1883,9 @@ "Above your right-well, inside its \"col-xs-6\" div element, add a h4 element with the text \"#right-well\"." ], "tests": [ - "assert($('.col-xs-12').children('h4') && $('.col-xs-12').children('h4').length > 1, 'Add an h4 element to each of your <div class='col-xs-6'> elements.')", - "assert(new RegExp('#left-well','gi').test($('h4').text()), 'One h4 element should have the text \"#left-well\".')", - "assert(new RegExp('#right-well','gi').test($('h4').text()), 'One h4 element should have the text \"#right-well\".')" + "assert($('.col-xs-12').children('h4') && $('.col-xs-12').children('h4').length > 1, 'Add an h4 element to each of your <div class=\\'col-xs-6\\'> elements.');", + "assert(new RegExp('#left-well','gi').test($('h4').text()), 'One h4 element should have the text \"#left-well\".');", + "assert(new RegExp('#right-well','gi').test($('h4').text()), 'One h4 element should have the text \"#right-well\".');" ], "challengeSeed": [ "
", @@ -1930,12 +1930,12 @@ "Give each of your buttons a unique id like, starting with \"target1\" and ending with \"target6\"." ], "tests": [ - "assert($('#target1') && $('#target1').length > 0, 'One button element should have the id \"#target1\".')", - "assert($('#target2') && $('#target2').length > 0, 'One button element should have the id \"#target2\".')", - "assert($('#target3') && $('#target3').length > 0, 'One button element should have the id \"#target3\".')", - "assert($('#target4') && $('#target4').length > 0, 'One button element should have the id \"#target4\".')", - "assert($('#target5') && $('#target5').length > 0, 'One button element should have the id \"#target5\".')", - "assert($('#target6') && $('#target6').length > 0, 'One button element should have the id \"#target6\".')" + "assert($('#target1') && $('#target1').length > 0, 'One button element should have the id \"target1\".')", + "assert($('#target2') && $('#target2').length > 0, 'One button element should have the id \"target2\".')", + "assert($('#target3') && $('#target3').length > 0, 'One button element should have the id \"target3\".')", + "assert($('#target4') && $('#target4').length > 0, 'One button element should have the id \"target4\".')", + "assert($('#target5') && $('#target5').length > 0, 'One button element should have the id \"target5\".')", + "assert($('#target6') && $('#target6').length > 0, 'One button element should have the id \"target6\".')" ], "challengeSeed": [ "
",