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

Refactor openstack_customizerequest method for VM Provisioning. #632

Merged

Conversation

pkomanek
Copy link
Contributor

Method refactoring and creating tests.

This PR is based on the issue below.
ManageIQ/manageiq#12038

@miq-bot add_label refactoring
@miq-bot assign @tinaafitz

@coveralls
Copy link

coveralls commented Jan 21, 2020

Pull Request Test Coverage Report for Build 4293

  • 84 of 84 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.07%) to 97.533%

Totals Coverage Status
Change from base Build 4224: 0.07%
Covered Lines: 3202
Relevant Lines: 3283

💛 - Coveralls

@pkomanek pkomanek force-pushed the openstack_customizerequest_refactoring branch from 8294528 to 727ea44 Compare February 17, 2020 13:39
@pkomanek pkomanek changed the title [WIP]Refactor openstack_customizerequest method for VM Provisioning. Refactor openstack_customizerequest method for VM Provisioning. Feb 17, 2020
@miq-bot miq-bot removed the wip label Feb 17, 2020
@@ -1,100 +1,167 @@
#
# Description: This method is used to Customize the Openstack Provisioning Request
# Description: This method is used to Customize the Amazon Provisioning Request
Copy link
Member

Choose a reason for hiding this comment

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

Amazon?

@lfu
Copy link
Member

lfu commented Feb 20, 2020

It looks good other than the typo.

@pkomanek pkomanek force-pushed the openstack_customizerequest_refactoring branch from 727ea44 to 4a9f0f7 Compare February 25, 2020 14:00
@miq-bot
Copy link
Member

miq-bot commented Feb 25, 2020

Some comments on commits pkomanek/manageiq-content@e2c56be~...4a9f0f7

spec/content/automate/ManageIQ/Cloud/VM/Provisioning/StateMachines/Methods.class/methods/openstack_customizerequest_spec.rb

  • ⚠️ - 137 - Detected allow_any_instance_of. This RSpec method is highly discouraged, please only use when absolutely necessary.

@miq-bot
Copy link
Member

miq-bot commented Feb 25, 2020

Checked commits pkomanek/manageiq-content@e2c56be~...4a9f0f7 with ruby 2.5.7, rubocop 0.69.0, haml-lint 0.20.0, and yamllint
2 files checked, 1 offense detected

content/automate/ManageIQ/Cloud/VM/Provisioning/StateMachines/Methods.class/methods/openstack_customizerequest.rb

@lfu lfu self-requested a review March 5, 2020 15:26
@tinaafitz tinaafitz merged commit 49dc304 into ManageIQ:master Mar 24, 2020
@pkomanek pkomanek deleted the openstack_customizerequest_refactoring branch March 24, 2020 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants