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 test failure with seed 24594 #265

Merged
merged 1 commit into from Jul 9, 2014

Conversation

tenderlove
Copy link
Contributor

i18n tests don't seem to stand up to test randomization. This fixes one case. Before this patch, if you run the tests like this:

$ TESTOPTS='--seed=24594' bundle exec rake test

They will fail. This patch fixes them by testing a subclass of I18n::Backend::Chain which lets us avoid mutating the class by including I18n::Backend::Fallbacks.

@carlosantoniodasilva carlosantoniodasilva merged commit 45693e8 into ruby-i18n:master Jul 9, 2014
carlosantoniodasilva added a commit that referenced this pull request Jul 9, 2014
fix test failure with seed 24594

Conflicts:
	test/backend/fallbacks_test.rb
@carlosantoniodasilva
Copy link
Member

❤️

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

2 participants