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 intermittent error "special chars" not being used #875

Merged
merged 1 commit into from
Dec 25, 2017

Conversation

diramos1
Copy link

@diramos1 diramos1 commented Apr 6, 2017

simple fix to have at least one special character when it's needed.

@diramos1
Copy link
Author

diramos1 commented Apr 6, 2017

¬¬' It failed by any intermittent error at tests, I saw another PR with the same error.

@b264
Copy link
Contributor

b264 commented Apr 6, 2017

The failure appears to be because Faker::Omniauth.facebook is not deterministic in that it's calling Object::Time.now. It should be deferring to one of the other Faker methods for the time and/or accept an optional argument for that. So a test suite will not produce the same failure for the same seed if it's using Faker::Omniauth

@b264
Copy link
Contributor

b264 commented Apr 6, 2017

#876

@stympy
Copy link
Contributor

stympy commented Apr 8, 2017

With #876 closed, is this still needed?

@diramos1
Copy link
Author

yep @stympy, it still needed!
#876 is about the error that Travis pointed, which isn't related with what I changed in this PR.

@stympy stympy merged commit 974d397 into faker-ruby:master Dec 25, 2017
davidmorton0 pushed a commit to davidmorton0/faker that referenced this pull request Jul 12, 2021
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.

3 participants