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

Shindo to minitest - Step 3 #123

Closed
wants to merge 2 commits into from
Closed

Shindo to minitest - Step 3 #123

wants to merge 2 commits into from

Conversation

gildub
Copy link
Collaborator

@gildub gildub commented May 23, 2016

Shindo to Minitest - 3rd set

Migrates identity, image and planning

Requires Pull Request "Shindo to Minitest - Step 2" to be merged first:
#118


describe "Fog::Openstack[:planning] | Planning role requests" do
before do
openstack = Fog::Identity[:openstack]

Choose a reason for hiding this comment

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

Useless assignment to variable - openstack.

@gildub gildub changed the title Shindo to minitest step 3 Shindo to minitest - Step 3 May 23, 2016
@coveralls
Copy link

coveralls commented May 23, 2016

Coverage Status

Changes Unknown when pulling b7eeec8 on gildub:shindo_to_minitest-step_3 into * on fog:master*.


it "#patch_plan" do
parameters = Fog::Openstack[:planning].get_plan(@instance['uuid']).
body['parameters'][0..1]

Choose a reason for hiding this comment

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

Align body with Fog::Openstack[:planning].get_plan(@instance['uuid']). on line 52.

end

after do
@user.ec2_credentials.each do |ec2_credential|

Choose a reason for hiding this comment

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

Pass &:destroy as an argument to each instead of a block.

@coveralls
Copy link

coveralls commented May 24, 2016

Coverage Status

Changes Unknown when pulling aaf7836 on gildub:shindo_to_minitest-step_3 into * on fog:master*.

Migrates baremetal, introspection

Also moves /test/openstack/* to /test (seems to be coming from the fog before the split)

describe "failure" do
it "#save" do
proc {

Choose a reason for hiding this comment

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

Avoid using {...} for multi-line blocks.

@coveralls
Copy link

coveralls commented May 24, 2016

Coverage Status

Changes Unknown when pulling 947c7e9 on gildub:shindo_to_minitest-step_3 into * on fog:master*.

Migrates identity, image and planning

Requires Pull Request "Shindo to Minitest - Step 2" to be merged first:
#118
"ipmi_password" => String,
"pxe_deploy_kernel" => String,
"ipmi_priv_level" => String,
"ipmi_bridging" => String

Choose a reason for hiding this comment

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

Align the elements of a hash literal if they span more than one line.

@coveralls
Copy link

coveralls commented May 24, 2016

Coverage Status

Changes Unknown when pulling ab3b8d6 on gildub:shindo_to_minitest-step_3 into * on fog:master*.

@coveralls
Copy link

coveralls commented May 24, 2016

Coverage Status

Changes Unknown when pulling 74e86ff on gildub:shindo_to_minitest-step_3 into * on fog:master*.

@gildub gildub closed this May 25, 2016
@gildub gildub deleted the shindo_to_minitest-step_3 branch May 25, 2016 06:18
@gildub
Copy link
Collaborator Author

gildub commented May 25, 2016

This one is replaced by PR #129 which is independent from the other "Shindo to Minitests ones".

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.

None yet

4 participants