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

Handle Hanami Projects Setup #16

Closed
AlexB52 opened this issue Oct 29, 2020 · 0 comments · Fixed by #17
Closed

Handle Hanami Projects Setup #16

AlexB52 opened this issue Oct 29, 2020 · 0 comments · Fixed by #17
Milestone

Comments

@AlexB52
Copy link
Owner

AlexB52 commented Oct 29, 2020

With Hanami projects, your repository setup has a lot file with the same names. For example

  • apps/web/controllers/posts/index.rb
  • apps/web/controllers/comments/index.rb
  • apps/web/controllers/authors/index.rb

More over for a same route you can then have three files

  • apps/web/controllers/books/index.rb
  • apps/web/views/books/index.rb
  • apps/web/templates/books/index.html.erb (no spec?)

With the current pattern, a change on one of their files will match all the respective spec files listed above. We need to reduce the number of test files returned or find the exact test file to run.

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 a pull request may close this issue.

1 participant