diff --git a/seed/challenges/object-oriented-and-functional-programming.json b/seed/challenges/object-oriented-and-functional-programming.json
index b7701304f1..bb399a6a3c 100644
--- a/seed/challenges/object-oriented-and-functional-programming.json
+++ b/seed/challenges/object-oriented-and-functional-programming.json
@@ -20,9 +20,9 @@
"Give your motorBike
object a wheels
, engines
and seats
attribute and set them to numbers."
],
"tests":[
- "assert(typeof(motorBike.engines) === 'number', 'engines
should be have a engines
attribute set to a number.');",
- "assert(typeof(motorBike.wheels) === 'number', 'wheels
should be have a engines
attribute set to a number.');",
- "assert(typeof(motorBike.seats) === 'number', 'seats
should be have a engines
attribute set to a number.');"
+ "assert(typeof(motorBike.engines) === 'number', 'motorBike
should have a engines
attribute set to a number.');",
+ "assert(typeof(motorBike.wheels) === 'number', 'motorBike
should have a wheels
attribute set to a number.');",
+ "assert(typeof(motorBike.seats) === 'number', 'motorBike
should have a seats
attribute set to a number.');"
],
"challengeSeed":[
"//Here is a sample Object",
@@ -54,12 +54,12 @@
"difficulty":0,
"description":[
"We are also able to create objects using constructor
functions.",
- "Give your motorBike
object a wheels
, engines
and seats
attribute and set them to numbers."
+ "Give your myMotorBike
object a wheels
, engines
and seats
attribute and set them to numbers."
],
"tests":[
- "assert(typeof((new MotorBike()).engines) === 'number', 'engines
should be have a engines
attribute set to a number.');",
- "assert(typeof((new MotorBike()).wheels) === 'number', 'wheels
should be have a engines
attribute set to a number.');",
- "assert(typeof((new MotorBike()).seats) === 'number', 'seats
should be have a engines
attribute set to a number.');"
+ "assert(typeof((new MotorBike()).engines) === 'number', 'myMotorBike
should have a engines
attribute set to a number.');",
+ "assert(typeof((new MotorBike()).wheels) === 'number', 'myMotorBike
should have a wheels
attribute set to a number.');",
+ "assert(typeof((new MotorBike()).seats) === 'number', 'myMotorBike
should have a seats
attribute set to a number.');"
],
"challengeSeed":[
"// Let's add the properties engines and seats to the car in the same way that the property wheels has been added below. They should both be numbers.",