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

SPECS: PeopleSerializer includes roles which are not visible from above #266

Open
carlobeltrame opened this issue Mar 29, 2023 · 0 comments

Comments

@carlobeltrame
Copy link
Member

Zum reproduzieren:
rspec './spec/models/role_spec.rb[1:2:1]' './spec/serializers/people_serializer_spec.rb[1:1]' --seed 61534

Wenn die role_spec vorher ausgeführt wird, dann fehlen nachher auf dem Template (h), das im people_serializer_spec dem Pbs::PersonDecorator zu Verfügung steht, diverse (alle?) unserer eigenen Helper Methoden, inklusive current_user. Wird die role_spec nicht vorher ausgeführt, dann funktioniert alles normal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant