-
Notifications
You must be signed in to change notification settings - Fork 168
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
Tenant creation in transaction makes some test cases fail #123
Comments
rpbaltazar
added a commit
that referenced
this issue
Dec 15, 2020
rpbaltazar
added a commit
that referenced
this issue
Dec 15, 2020
rpbaltazar
added a commit
that referenced
this issue
Dec 16, 2020
Merged
Caused by #66 |
rpbaltazar
added a commit
that referenced
this issue
Dec 16, 2020
Prepare Release - 2.8.0 - Resolves #98 - Trying to generate an automatic changelog - #99 - Resolves #86 - Fixes seeding errors - #87 - Resolves #66 - Uses a transaction to create a tenant - #69 - Resolves #121 - Relaxes dependencies to allow rails 6.1 - #122 - Resolves #123 - When tests run in a transaction, new tenants in tests fail to create - #124 - Reverted unsafe initializer - #118
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
Run the test suite with use_transactional_fixtures set to true. Creating a new tenant in a test will raise an exception because a transaction is already in place
Expected behavior
Should pass the tests and not raise exception
postgresql 12.4
development branch
Apartment config (in
config/initializers/apartment.rb
or so):use_schemas
:true
Rails (or ActiveRecord) version:
6.0.3.4
2.7.1
The text was updated successfully, but these errors were encountered: