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

Database transactions change using rspec #31

Open
phantomwhale opened this issue Feb 18, 2015 · 3 comments
Open

Database transactions change using rspec #31

phantomwhale opened this issue Feb 18, 2015 · 3 comments

Comments

@phantomwhale
Copy link

Adding the four lines suggested to rails_helper.rb and running USE_PIPPI=1 bundle exec ./bin/rake causes numerous tests to fail in our otherwise passing test suite.

All these tests are related to duplicate records clashes, or return values not being empty, all of which point to transactions breaking, or the database cleaner gem not firing correctly.

We are running with rspec 3.2, database cleaner (set up as Avdi does in his blog post) and pippi 0.0.12

@tcopeland
Copy link
Owner

@phantomwhale thanks for the report. I think there are still some bugs in the method decorating logic, and you're seeing those. Any chance you can supply more details to help with tracking down the issues?

@phantomwhale
Copy link
Author

Hey Tom - in the trenches at the moment getting a new app up and live, but if I get a chance to circle back and try pippi again during a hack day, I'll certainly try and extract some more details.

@tcopeland
Copy link
Owner

Cool, thanks @phantomwhale, and I'll poke around from this end too.

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

No branches or pull requests

2 participants