-
Notifications
You must be signed in to change notification settings - Fork 900
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
Misc. test cleanup #14869
Misc. test cleanup #14869
Conversation
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.
By removing the allow
statement you are testing different code path.
Previously this went with the if
branch, now it goes with the else
branch (see aggregate_all_vm_memory_on_disk
).
Was it intentional?
No need to create a server, guid, zone The name of the method being tested should be displayed Expect :has_attribute?, it's important
Checked commit bdunne@15bc9e9 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
Thanks @isimluk I thought I had verified that. Since it feels important, I added it back as an |
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.
👍
Thanks!
Misc. test cleanup (cherry picked from commit 2cd30b6)
Fine backport details:
|
Followup to #14834
No need to create a server, guid, zone
The name of the method being tested should be displayed
Expect
:has_attribute?
, it's important