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

Fix flakiness in Mongoid 3 & 4 specs #505

Merged
merged 2 commits into from Oct 1, 2017

Conversation

antstorm
Copy link
Contributor

@antstorm antstorm commented Oct 1, 2017

Since there are 6 pre-created Priceable records for every test and there
is no sorting, we can not rely on the order in which they are returned.
This fix will only force the creation of one DB record.

Since there are 6 pre-created Priceable records for every test and there
is no sorting, we can not rely on the order in which they are returned.
This fix will only force the creation of one DB record.
@antstorm antstorm merged commit d61db00 into RubyMoney:master Oct 1, 2017
@antstorm antstorm deleted the fix-flaky-mongoid-specs branch October 1, 2017 15:05
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.

None yet

1 participant