erikthedeveloper / todo-laravel-angularjs-homestead

A simple app to flush out how to best write/test a RESTful API (Laravel 4.2+), front end Web App (AngularJS) with packaged laravel/homestead setup
MIT License
24 stars 6 forks source link

kickstart/phpspec - Running/Passing tests for Todo\Models #8

Closed erikthedeveloper closed 10 years ago

erikthedeveloper commented 10 years ago

@kchunterdeluxe when you get a chance, maybe you can check out what I've got so far. You'll see some starter files I needed to create for some of the other classes.

Also, I created a BaseModel to extend rather than requiring Eloquent in each of our models.

Let's hold off on merging this until we get a few more commits in here.

We can push to this branch to add more commits after review/etc...

kaseyjcowley commented 10 years ago

@erikthedeveloper OK, so I need to learn how to use github better. I pushed up my changes, but I should have pushed to a different branch and submitted a pull request. Live and learn. You can check out what I did and we'll move to the next phase. I think the relationship tests I wrote are correct for our data model.