Skip to content

add test for phone number field in volunteers/edit view spec #1787#3387

Merged
compwron merged 1 commit into
rubyforgood:mainfrom
xihai01:f/1787
Apr 23, 2022
Merged

add test for phone number field in volunteers/edit view spec #1787#3387
compwron merged 1 commit into
rubyforgood:mainfrom
xihai01:f/1787

Conversation

@xihai01
Copy link
Copy Markdown
Collaborator

@xihai01 xihai01 commented Apr 22, 2022

What github issue is this PR for, if any?

Resolves #1787

What changed, and why?

Nothing much changed lol. I just added tests to verify the supervisor can edit a volunteer's phone number within the same organization. All the code basically has already been written since #1785

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

View specs are written to check the presence of the phone number field for the following situations:

  1. Supervisor is within the same org as the volunteer
  2. Supervisor is in a different org compared to the volunteer

Screenshots please :)

Screenshot from 2022-04-22 16-51-52

Feedback please? (optional)

We are very interested in your feedback! Please give us some :) https://forms.gle/1D5ACNgTs2u9gSdh9

@xihai01 xihai01 added 🔐 User Permissions User permissions and roles 🧪 Tests Tests codethechange code.the.change developers labels Apr 22, 2022
@xihai01 xihai01 self-assigned this Apr 22, 2022
Copy link
Copy Markdown
Collaborator

@compwron compwron left a comment

Choose a reason for hiding this comment

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

:)

@compwron compwron merged commit 0868ad4 into rubyforgood:main Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codethechange code.the.change developers ruby Touches Ruby code 🧪 Tests Tests 🔐 User Permissions User permissions and roles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

supervisors can add/edit volunteer mobile numbers

3 participants