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

Add service_template_ansible_tower factory, inherit naming from parent #18474

Merged
merged 1 commit into from
Feb 21, 2019

Conversation

d-m-u
Copy link
Contributor

@d-m-u d-m-u commented Feb 21, 2019

This is necessary for #18464 to pass.

We should be inheriting the naming of these from the parent because we validate that they all have names, so I've no idea why it was written to only have the naming set on a couple to start with.

Related to

#18464

@d-m-u
Copy link
Contributor Author

d-m-u commented Feb 21, 2019

@miq-bot assign @gmcculloug
@miq-bot add_reviewer @bdunne

@miq-bot
Copy link
Member

miq-bot commented Feb 21, 2019

Checked commit d-m-u@6cb9b49 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. ⭐

@d-m-u
Copy link
Contributor Author

d-m-u commented Feb 21, 2019

@miq-bot add_label test

@miq-bot miq-bot added the test label Feb 21, 2019
@bdunne
Copy link
Member

bdunne commented Feb 21, 2019

Unnecessary factories were removed in favor of https://github.com/ManageIQ/manageiq/blob/cdfb8d6e209d42f3cb1976267b4a501b0aaa4775/spec/support/missing_factory_helper.rb so you can still use FactoryGirl.build or create on anything, but it will call new or create! on the class.

@bdunne bdunne merged commit 4306d94 into ManageIQ:master Feb 21, 2019
@bdunne bdunne assigned bdunne and unassigned gmcculloug Feb 21, 2019
@bdunne bdunne added this to the Sprint 106 Ending Mar 4, 2019 milestone Feb 21, 2019
@d-m-u d-m-u deleted the fixing_service_template_factory branch September 26, 2019 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants