Files
nairobi/app/models
Bertocq 36e74d0ef2 Add Budget::Phase model, spec and factory
Create a new Budget::Phase model that:
* Stablishes a relation with its budget
* Stablishes relation with two other Budget::Phases (previous and next)
* Validates basic dates range, kind and description rules.
* Adds scopes to get the ones enabled as well as each individual phase

Create a factory that generates a basic and valid Budget::Phase

Create a model spec that checks kind, date range and budget validations.
2018-01-16 12:18:13 +01:00
..
2017-07-18 13:07:30 +02:00
2017-11-17 13:14:03 -04:00
2017-09-14 15:08:35 +02:00
2017-07-25 13:01:03 +02:00
2017-10-17 22:00:00 +02:00
2017-12-20 12:43:49 +01:00
2017-11-13 02:22:00 +01:00
2017-12-15 19:21:02 +01:00