-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
Conversation
|
||
describe "Fog::Openstack[:planning] | Planning role requests" do | ||
before do | ||
openstack = Fog::Identity[:openstack] |
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.
Useless assignment to variable - openstack
.
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] |
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.
Align body
with Fog::Openstack[:planning].get_plan(@instance['uuid']).
on line 52.
end | ||
|
||
after do | ||
@user.ec2_credentials.each do |ec2_credential| |
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.
Pass &:destroy
as an argument to each
instead of a block.
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 { |
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.
Avoid using {...}
for multi-line blocks.
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 |
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.
Align the elements of a hash literal if they span more than one line.
Changes Unknown when pulling ab3b8d6 on gildub:shindo_to_minitest-step_3 into * on fog:master*. |
Changes Unknown when pulling 74e86ff on gildub:shindo_to_minitest-step_3 into * on fog:master*. |
This one is replaced by PR #129 which is independent from the other "Shindo to Minitests ones". |
Shindo to Minitest - 3rd set
Migrates identity, image and planning
Requires Pull Request "Shindo to Minitest - Step 2" to be merged first:
#118