-
Notifications
You must be signed in to change notification settings - Fork 898
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
Remove all service resources #14584
Remove all service resources #14584
Conversation
spec/requests/api/services_spec.rb
Outdated
it 'can remove all resources from a service' do | ||
api_basic_authorize collection_action_identifier(:services, :remove_all_resources) | ||
|
||
run_post(services_url(svc.id), 'action' => 'remove_all_resources') |
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.
could you replace all these with :action => "..." for consistency with other tests.
closing and opening to kick travis |
This pull request is not mergeable. Please rebase and repush. |
spec consistency
Checked commit jntullo@815bd37 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
Thanks @jntullo for updating the PR. |
Remove all service resources (cherry picked from commit d7b0aed)
Fine backport details:
|
This is an additional API action to remove all service resources:
or
cc: @mkanoor
@miq-bot add_label enhancement, api
@miq-bot assign @abellotti