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

Remote namespace#parent_id from specs #20046

Merged
merged 1 commit into from Apr 3, 2020

Conversation

kbrock
Copy link
Member

@kbrock kbrock commented Apr 3, 2020

It is being pedantic, but nicer / quicker this way

Since namespace is using ancestry, no reason to use and id and then lookup that object again.

@lfu here are some of the parent_ids I saw in master

app/models/miq_ae_class.rb Outdated Show resolved Hide resolved
It is being pedantic, but nicer / quicker this way
@kbrock kbrock force-pushed the namespace_parent_id_specs branch from 8d5973e to 06e4b95 Compare April 3, 2020 15:20
@miq-bot
Copy link
Member

miq-bot commented Apr 3, 2020

Checked commit kbrock@06e4b95 with ruby 2.5.7, rubocop 0.69.0, haml-lint 0.28.0, and yamllint
2 files checked, 0 offenses detected
Everything looks fine. 🍪

@chessbyte chessbyte self-assigned this Apr 3, 2020
@chessbyte chessbyte merged commit ada003b into ManageIQ:master Apr 3, 2020
@kbrock kbrock deleted the namespace_parent_id_specs branch April 3, 2020 23:34
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.

None yet

4 participants