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

Update disconnection test to understand soft delete #55

Merged
merged 1 commit into from
Jul 6, 2017

Conversation

cben
Copy link
Contributor

@cben cben commented Jul 5, 2017

Disconnect tests added in #44 were expecting ems_id to become nil,
which doesn't happen after soft delete ManageIQ/manageiq#15251.
Fixed by asking .archived? instead.

@cben
Copy link
Contributor Author

cben commented Jul 5, 2017

@moolitayer @zakiva @simon3z this makes Travis green 👷 🍏

@miq-bot add-label test

@miq-bot miq-bot added the test label Jul 5, 2017
@miq-bot
Copy link
Member

miq-bot commented Jul 5, 2017

Checked commit cben@a974d9e with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks fine. 🏆

@cben
Copy link
Contributor Author

cben commented Jul 5, 2017

I see there is discussion on ManageIQ/manageiq#15251 whether it should have been merged;
I believe this PR is good even if it gets reverted for now, as archived? method existed before soft delete too.

@cben
Copy link
Contributor Author

cben commented Jul 6, 2017

Ping @moolitayer @simon3z tiny fix for red master.

@simon3z simon3z merged commit 27530a8 into ManageIQ:master Jul 6, 2017
@moolitayer moolitayer added this to the Sprint 64 Ending Jul 10, 2017 milestone Aug 9, 2017
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.

4 participants