Skip to content

Fix failing Rails edge tests #123

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

Merged
merged 2 commits into from
Nov 15, 2022
Merged

Fix failing Rails edge tests #123

merged 2 commits into from
Nov 15, 2022

Conversation

jturkel
Copy link
Member

@jturkel jturkel commented Nov 15, 2022

This fixes the Rails edge tests that were failing due to DatabaseCleaner/database_cleaner-active_record#83 by replacing the dependency on database_cleaner dependency with rspec-rails. For some reason the database schema was sporadically disappearing mid-test run when using the SQLite memory driver but the problem went away when using the file driver. The tests are fast enough using the file driver so I didn't bother investigating further.

@jturkel jturkel added the No Changelog Needed Allow merges without CHANGELOG.md updates. label Nov 15, 2022
@jturkel jturkel requested review from askreet and a team November 15, 2022 17:04
@jturkel jturkel linked an issue Nov 15, 2022 that may be closed by this pull request
@jturkel jturkel merged commit bdd35aa into master Nov 15, 2022
@jturkel jturkel deleted the feature/database-cleaner branch November 15, 2022 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
No Changelog Needed Allow merges without CHANGELOG.md updates.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rails edge build failing in database_cleaner-active_record
2 participants