Open NBS-LLC opened 12 months ago
Might be better not to use short names to better align code with unit test results:
TreasureController
getRandomTreasure()
should return a treasure object
GET /api/treasures/random
should return random treasure data (5278ms)
Treasure
getAttributes()
should return an empty array on initialization
addAttribute()
should add an attribute to the treasure
Decided between the short name: