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

Fixed with_tenant when block fails #26

Merged
merged 1 commit into from
Dec 14, 2017
Merged

Fixed with_tenant when block fails #26

merged 1 commit into from
Dec 14, 2017

Conversation

Richard-Degenne
Copy link
Member

In Multitenancy.with_tenant, the old tenant wouldn't be restored if the block failed.

This PR fixes this issue, along with a test against eventual regressions.

@coveralls
Copy link

coveralls commented Dec 14, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 210ea71 on Richard-Degenne:with-tenant-ensure into 14b6074 on PerfectMemory:master.

@abrisse
Copy link
Member

abrisse commented Dec 14, 2017

Thanks for that PR

@abrisse abrisse merged commit 7cd3bcc into PerfectMemory:master Dec 14, 2017
@Richard-Degenne Richard-Degenne deleted the with-tenant-ensure branch August 13, 2018 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants