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 Openscap Result to VM model #15862

Merged
merged 1 commit into from
Sep 18, 2017

Conversation

aufi
Copy link
Member

@aufi aufi commented Aug 21, 2017

Adding association to Openscap Result for Vm_or_template model to
be able to link scan results to multiple Vm types.

This is part of Openscap scanning integration to OpenStack provider.

Links

Steps for Testing/QA

This PR does not bring new end-user functionality. Will be tested together with OpenStack Openscap integration.

@aufi aufi force-pushed the add_openscap_result_to_vm branch 3 times, most recently from 1b80748 to 82a3c72 Compare August 21, 2017 09:51
context "#openscap_result" do
it "has an openscap_result" do
vm = FactoryGirl.build(:vm)
expect(vm).to respond_to(:openscap_result)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels like we're just testing rails. I don't think that's necessary.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for comment, removed.

Adding association to Openscap Result for Vm_or_template model to
be able to link scan results to multiple Vm types.

This is part of Openscap scanning integration to OpenStack provider.
@aufi aufi force-pushed the add_openscap_result_to_vm branch from 82a3c72 to aceda57 Compare August 23, 2017 13:34
@miq-bot
Copy link
Member

miq-bot commented Aug 23, 2017

Checked commit aufi@aceda57 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
2 files checked, 0 offenses detected
Everything looks fine. ⭐

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.

6 participants