-
Notifications
You must be signed in to change notification settings - Fork 41
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
Test availability_zone_to_cn overriding in google prov #44
Conversation
stub_dialog | ||
allow(User).to receive_messages(:server_timezone => "UTC") | ||
wf = described_class.new({:src_vm_id => template.id}, admin.userid) | ||
wf |
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.
@d-m-u - can this just read? :
described_class.new({:src_vm_id => template.id}, admin.userid)
stub_dialog | ||
allow(User).to receive_messages(:server_timezone => "UTC") | ||
wf = described_class.new({:src_vm_id => template.id}, admin.userid) | ||
wf |
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.
No need to set the wf
variable only to return it on the next line. Just return the result from described_class.new
.
b222fbe
to
09758aa
Compare
Checked commit d-m-u@09758aa with ruby 2.3.3, rubocop 0.52.0, haml-lint 0.20.0, and yamllint 1.10.0 |
@d-m-u - both comments ( #44 (comment) and #44 (review)) are making the same point, FYI. |
Test availability_zone_to_cn overriding in google prov (cherry picked from commit 7e547f5)
Gaprindashvili backport details:
|
PR ManageIQ/manageiq#16811 adds RBAC filtering to allowed_cloud_network base class and google needed specs around the fact that the cloud network list is NOT dependent on availability zone choice unlike azure and amazon. (Per ManageIQ/manageiq#16824 (comment))
Related bz links:
https://bugzilla.redhat.com/show_bug.cgi?id=1533277
https://bugzilla.redhat.com/show_bug.cgi?id=1535189