Closed haietza closed 6 years ago
@patrickbeekman I have the route/controller/view changes pushed up and I'm not getting the error message anymore. However, the createRes view never loads when I run the application - it just keeps trying to load and then times out. I can't figure out why the page isn't loading - there are no error messages to reference. If you want to pull the updated branch and take a look, maybe together we can figure it out?
@patrickbeekman I got it! It was a silly typo, of course. I'm working on pulling the eventTypes from the db into the view for the select list on the form. I'll push and comment here when that is up so you can pull and write the tests. Sorry for the delay!
Wow you are truly amazing! No worries about the delay! That sounds good I can start looking into the edit and delete stuff and attempt to implement that tonight!
@patrickbeekman Whew, okay I finally have the reservation create stuff working. There are a couple other things I think we need to add on this, but not sure if they belong here or as additional issues. We can talk about it more tomorrow in class. Did you want to take this issue over from here and add the tests, or would you like me to do that for the create reservation stuff and you can keep going with the list, etc stuff?
@haietza Awesome job! Yeah we can definitely talk more tomorrow about the extra issues you had. I can take a look at writing the tests for the routes and controllers but I am still very shaky on it. Whatever I don't finish with that we can look at tomorrow! I started working on the list stuff last night but couldn't get the page to load so I'm sitting down now to do some debugging right now!
@patrickbeekman If it's okay, I'm going to start working on the tests for the createRes view and routes/controller methods implemented so far. So I can be productive in class this morning ;).
I'm having a hard time getting the tests to pass as a suite. They all pass when run individually, but throw different errors each time when run together. I'm still working on it.
The TODOs I mentioned us needing to refer back to are:
EJS view for form to create a new reservation