Commit Graph

16 Commits

Author SHA1 Message Date
55c59419a9 fixed unit test for settings 2015-10-02 13:05:10 +02:00
2a4945c956 Listing & Form & Refactoring
- finished implementing forms
- fixed form reset when clicking on new
- fixed responsive for select all checkbox and toggle item details
- refactored listing items' actions
- added Trash action
- cleaned up validations on models
- fixed syntax
- fixed tests
2015-09-16 12:14:04 +02:00
e8abc4cb47 - Model returns validation errors upon save (Closes #122)
- Fixed acceptance test for Newsletters (Closes #126)
2015-09-13 19:40:42 -04:00
969630f7ea Updated _after() method for all Model tests. Closes #87 2015-08-21 11:24:28 -04:00
ce5a1b46b6 Unit test for settings was not cleaning properly the DB. 2015-08-21 16:13:17 +02:00
5cc9c1c6de Tests cleanup. 2015-08-20 00:31:42 +02:00
ce730d7c3b Settings router.
Here's a simple settings router. the createOrUpdate method lives
in the model, and by default all models will return true on save
or false if save went wrong.
2015-08-19 23:55:30 +02:00
3af24f9877 Reverted back to Model class 2015-08-17 17:37:43 +00:00
14fdfaed86 Fixed formatting issues as per Marco's remarks 2015-08-17 09:40:57 -04:00
78b5791a46 - Added 'Newsletters' model and wrote tests
- Fixed some formatting in unit tests
Closes #68
2015-08-14 13:31:45 +00:00
ed3e3b0eb8 Fix indentation. 2015-08-13 18:18:12 +02:00
3183e34afc Fix indentation and naming on Setting test. 2015-08-13 18:11:14 +02:00
5d1b8524ea Added Laurent's tests/model save() method 2015-08-13 09:58:41 -04:00
2856a08cdc - Made changes as per Marco's comments in #54
- Implemented database cleanup for tests. Closes #56
2015-08-12 15:36:56 +00:00
12bead358c - Added Sudzy composer dependency for model validation
- All models now extend a generic Model class that extends Sudzy
- Wrote tests for Subscriber and Setting model validation
- Rewrote model tests to make sure they look the same
- Updated both tests with cleanup logic in the beginning
- Added test:unit-single method to Robo for selective unit testing

Closes #54
2015-08-11 23:52:00 +00:00
dc69763601 Reorganize unit tests into mirroring /lib folder as per #48 2015-08-11 00:27:03 +00:00