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

GrantRepo#for_collection_class inst,group soft delete support #71

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

malakai97
Copy link
Contributor

Noticed these were missing.

I think after we merge my PRs it'll be time to DRY up these two methods.

Copy link
Collaborator

@gkostin1966 gkostin1966 Feb 21, 2024

Choose a reason for hiding this comment

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

The flow of the spec is to state the positive “it” then start soft deleting resources. Therefore I would expect to see ….
it "#for_collection_class finds grants" do
expect(repo.for_collection_class(
username: "lauth-group-member",
client_ip: "10.99.3.4",
collection_class: "someclass"
)).to FIND THE GRANT
end
as the second “it” block.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

makes sense. added.

@malakai97 malakai97 merged commit d7e335f into main Feb 21, 2024
4 checks passed
@malakai97 malakai97 deleted the collection-class-soft-delete branch February 21, 2024 22:31
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 this pull request may close these issues.

2 participants