-
Notifications
You must be signed in to change notification settings - Fork 897
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
Removes importer association data for backwards compatibility #15724
Removes importer association data for backwards compatibility #15724
Conversation
@miq-bot assign @gmcculloug |
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.
I don't think you have to actually write any new tests, but I do think you should add dialog_field_responders
to the test dialog_field so that if you were to remove the one line change in dialog_field_importer.rb
, the tests would fail.
21e5228
to
bb884ac
Compare
} | ||
end | ||
|
||
let(:responder) { FactoryGirl.create(:dialog_field) } |
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.
Do we need this? We're deleting the key anyway in the import process, I don't think there's any reason to actually create a dialog field in the test if we're just throwing it away.
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.
Let me clarify since I know it sounds like I'm contradicting myself from my previous suggestion of adding the dialog_field_responders
into the test. I was basically just saying to add the key and a nonsense value to ensure that even if the importing yaml contained the key, it would be ignored.
344e82b
to
239ce78
Compare
239ce78
to
089b4b6
Compare
Checked commits d-m-u/manageiq@8d80d93~...089b4b6 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
This PR removes the dialog field association data from the fields currently imported by the main repo (which takes only expected dialog fields sans associations). We take out the information related to ResourceActions in much the same fashion here as well.
Related to:
#15608
(the export code is here:)
#15740