Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cory and Scott Submission #99

Open
wants to merge 78 commits into
base: main
Choose a base branch
from

Conversation

coryrpow
Copy link

@coryrpow coryrpow commented Dec 2, 2023

This is our submission PR. We were able to get to attempting the second to last user story creating a new viewing party, but did not finish all the testing to complete it.

coryrpow and others added 30 commits November 27, 2023 18:07
Created the PR template for the project.
Create pull_request_template.md
… The show page user story doesn't call for the email so I just removed it and removed the corresponding line in the test.
…ith a movies controller, a movies view folder, a movies index page, and routing for the discover page corresponding to a specific user.
…e annoying ones. Not gonna worry about it but just have this branch to practice
… was being clever doing a movies_controller, but I think the movies have to be a different thing and discover seems to be its own thing. So changed it to discover#index/controller.
coryrpow and others added 30 commits November 30, 2023 18:32
WOO! Got the coverage to remove off of github and we can merge without it yelling at us again!
…ing a jump on the stubs and mocks for testing
…tests to be more robust. Also changed some names of things to make more sense. All in all it feels really cleaned up
Hooray! We have working mock testing on everything made thus far!
…nd added some private methods in the controller for viewing_party. I remembered the before_action from the final mod 2 project so I'll probably try and implement that elsewhere if I can, but we'll see. Signing off for the night, but going to hit hard tomorrow and do everything I can before we submit
… adding simplecov again, but not sure how to get it to work again. Not a big deal, but was just curious.
…and viewing parties. Also tested the relationships and validations for them in the model tests
…to add other users. I think I know where to go with it next though.
…n viewing party. Also got the form to show users using an if each in the view that I think works? It passes in the test thus far, but the testing suite is taking 10 seconds to load each time so not sure what happened. I assume it's the new migrations but that seems strange as the new migrations are empty tables. Either way, it adds a lot of time to the testing process.
…t'? Not sure. I think this works more correctly now. Not sure how it worked in the video but afterwards it stopped passing the movie_id correctly so I added a hidden field that has the movie_id.
Finally got the flash error to work in the controller, but switched to the user_viewing_parties_controller because it seems to be more RESTful to me.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants