You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to configure the RSpec 3.5 and factory_girl-preload 2.3.1 on Rails 5 as a usually do since Rails 2.
I just realized that something has changed on RSpec 3.5 regarding the option use_transactional_fixtures I've noticed that they are not using savepoint anymore, but are using begin/commit transactions. The problems is that, as I'm using a shared connection, every time that I change something on the database it runs a new begin/commit transaction and I'm suspecting that the rollback is not working for this case, because I'm getting some preloaded factories with different data when I run the whole suite, and the tests are running fine when I run a single suite.
Hope you guys could help here, not sure if this must be fixed on this gem or we must report this problem on the RSpec issues.
The text was updated successfully, but these errors were encountered:
Hy guys,
I'm trying to configure the RSpec 3.5 and factory_girl-preload 2.3.1 on Rails 5 as a usually do since Rails 2.
I just realized that something has changed on RSpec 3.5 regarding the option
use_transactional_fixtures
I've noticed that they are not usingsavepoint
anymore, but are usingbegin/commit
transactions. The problems is that, as I'm using a shared connection, every time that I change something on the database it runs a newbegin/commit
transaction and I'm suspecting that the rollback is not working for this case, because I'm getting some preloaded factories with different data when I run the whole suite, and the tests are running fine when I run a single suite.Hope you guys could help here, not sure if this must be fixed on this gem or we must report this problem on the RSpec issues.
The text was updated successfully, but these errors were encountered: