Skip to content

DRY up another admin, supervisor and volunteer spec using shared_examples#6889

Open
alanparmenter wants to merge 1 commit intorubyforgood:mainfrom
alanparmenter:clean-refactor
Open

DRY up another admin, supervisor and volunteer spec using shared_examples#6889
alanparmenter wants to merge 1 commit intorubyforgood:mainfrom
alanparmenter:clean-refactor

Conversation

@alanparmenter
Copy link
Copy Markdown
Contributor

What github issue is this PR for, if any?

Related to #6874

What changed, and why?

Using shared_examples to remove duplication in admin, supervisor and volunteer tests.

How is this tested? (please write rspec and jest tests!) 💖💪

bundle exec rspec spec/policies/volunteer_policy_spec.rb

Feelings gif (optional)

Cactus in rain with umbrella

@github-actions github-actions Bot added ruby Pull requests that update Ruby code Tests! 🎉💖👏 labels Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ruby Pull requests that update Ruby code Tests! 🎉💖👏

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant