From 3d9c49b76e6f5285c1e8cd95f7794288aab7edc1 Mon Sep 17 00:00:00 2001 From: Michael Q Larson Date: Wed, 4 Mar 2015 22:04:58 -0800 Subject: [PATCH] refactor the first challenge to make use of the array atribute we gave it --- seed_data/coursewares.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/seed_data/coursewares.json b/seed_data/coursewares.json index 969b39ab26..f9f2470c47 100644 --- a/seed_data/coursewares.json +++ b/seed_data/coursewares.json @@ -2620,5 +2620,27 @@ "function welcomeToBooleans() {\n // Good luck!\n return false;\n}\n\nwelcomeToBooleans();" ], "challengeType": 1 + }, + { + "_id": "bd7123c9c441eddfaeb5bdef", + "name": "Meet Booleans", + "difficulty": "9.98", + "description": [ + "Return true", + "Some additional directions" + ], + "tests": [ + "expect(welcomeToBooleans()).to.be.a(\"boolean\");", + "expect(welcomeToBooleans()).to.be.true;" + ], + "challengeSeed": [ + "function welcomeToBooleans() {", + "// Good luck!", + "return false;", + "}", + "", + "welcomeToBooleans();" + ], + "challengeType": 1 } ]