ootbdev / aobotracker-HAS-MOVED

Development Team's Time/Expenses Tracker as an RoR Exercise
0 stars 0 forks source link

Model: ExpenseType #4

Open alvinslee opened 10 years ago

alvinslee commented 10 years ago

An ExpenseType is a category that any Expense can belong to. For example, "equipment" or "transportation" or "books", etc.

The manager user is allowed to modify the list of available expense types (that feature will be implemented later).

No two expense types can share the same name.

We need to think about what happens when an expense type is deleted or modified by a manager. What happens to expenses that have already been assigned that expense type?

The cucumber feature tests related to this issue should be tagged with @expensetype and @model so that we can group our tests when needed.