-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
4634 - Add the Delete button on the Partner Group Page #4649
4634 - Add the Delete button on the Partner Group Page #4649
Conversation
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.
Other than the one wording change ("destroyed" to "deleted") mentioned in an earlier comment, it looks good functionally.
a88cf00
to
bccadb5
Compare
Donw With changes @cielf |
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.
Looks pretty good!
069ee84
to
81655f3
Compare
sign_in(user) | ||
end | ||
|
||
describe "DELETE #destroy" do |
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.
There should be a spec that checks that the delete button is only shown if there are no partners. This can still be a request spec since you can check the response HTML.
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.
Also - please don't force push your branch once a review has started - it becomes harder to see what has changed since the last review.
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.
Hii @dorner,
I've updated the spec based on your suggestion. I had to force-push the changes since I couldn't see my updates in the branch. Please ignore this for now. I'll work on improving it in future PRs
8fdb6d5
to
2e6f4a3
Compare
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.
ok by me,
Looks good on my end! |
@Aaryanpal: Your PR |
Resolves #4634
Description
Add the Delete Button Functionality in User group that doesn't have partners in it
Type of change
How Has This Been Tested?
ScreenCast
Screencast.from.2024-09-13.00-04-23.webm