NBS-LLC / craift

AI Treasure Generator
1 stars 0 forks source link

use consistent class and file names #7

Open NBS-LLC opened 12 months ago

NBS-LLC commented 12 months ago

Decided between the short name:

NBS-LLC commented 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