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

Add Rake Task for creating test resources in the DB #254

Merged
merged 2 commits into from
Nov 12, 2023

Conversation

juanarias93
Copy link
Collaborator

@juanarias93 juanarias93 commented Nov 11, 2023

What && Why

Add rake task for creating test resources in the DB.
Task will need to be run manually if needed, and will consist on Users, Groups and Sessions.

Command for running the task:

bundle exec rake db:seed:resources

How

  • Setup rake task and create db/seeds/resources.rb file.
  • Create test Users.
  • Update Readme with instructions on how to run the task.
  • Create test Groups.
  • Create test Sessions.

Links

How to Review

  • Review commit by commit recommended.
  • Review all at once recommended.

  * Three Users created for now.. will create Groups and Sessions later.
@juanarias93
Copy link
Collaborator Author

@andresconti @nodescanses por ahora falla rubocop porque hay variables asignadas que no se están usando, pero asumo que van a ser usadas luego para los grupos y sesiones.

@andresconti andresconti marked this pull request as ready for review November 12, 2023 20:36
Copy link
Collaborator Author

@juanarias93 juanarias93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andresconti impeca todo! 👏

"Apruebo" yo también ✅ (no puedo aprobar de verdad por ser quién abrió el PR 😅 )

@juanarias93 juanarias93 merged commit 4bb46b9 into develop Nov 12, 2023
1 check passed
@juanarias93 juanarias93 deleted the juan_arias--rake_task_for_resources branch November 12, 2023 21:51
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