-
Notifications
You must be signed in to change notification settings - Fork 41
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
4248 ownercollab read permissions for project preferences #4299
4248 ownercollab read permissions for project preferences #4299
Conversation
Related to Issue: #4248 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome. Changes look good. 👍
Not blocking, but I would add a test to ensure other attributes are not being serialized into the response for read/update_settings.
(Eg. 'read_settings response does not serialize irrelevant attributes') Something along those lines.
Pinging @zwolf so he's aware of changes made. (@zwolf no added work for you here, unless you wanted to add anything).
|
||
expect(first_response).to have_key 'settings' | ||
expect(first_response).to_not have_key 'activity_count_by_workflow' | ||
expect(first_response).to_not have_key 'email_communication' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RSpec/NotToNot: Prefer not_to over to_not.
first_response = json_response['project_preferences'].first | ||
|
||
expect(first_response).to have_key 'settings' | ||
expect(first_response).to_not have_key 'activity_count_by_workflow' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RSpec/NotToNot: Prefer not_to over to_not.
Describe your change here.
Review checklist
apiary.apib
file?