It's an exercise. Here are the requirements:
There is a restaurant that requires a reservation system. The restaurant only has the following characteristics:
- Only has 2 tables, a 2-person table and a 4-person table
- All reservations are 2 hours in length
- The restaurant is open Monday through Friday 5pm to 10pm.
Write a system that will accept reservation requests and create them if the business rules are followed.
Thanks @rbeene for the exercise
Love of course. (And Suspenders)
Always!
- Refactoring models
- Extract service objects
- Refactor specs
- Something with FactoryGirl, Rspec, or Pg is not acting right. Fix!
- Delayed job became a casualty of previous point (4)