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

Missing i18n jobs fix #1142

Merged
merged 7 commits into from
May 17, 2018
Merged

Conversation

PuZZleDucK
Copy link
Contributor

This patch fixes issue #1139 which seems to occur when the locale used does not contain translations for the position.

There is a test that fails with the same error as reported in #1139. This had to be put in a new file to isolate it from messing with the i18n of other tests.

The other patches fix the issue and standardize whitespace in jobs.

lib/faker/job.rb Outdated
def title
parse('job.title')
end

def field; fetch('job.field'); end
def key_skill; fetch('job.key_skills'); end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for changing the code style. It was looking terrible 👍

@vbrazo vbrazo merged commit 0c1b3eb into faker-ruby:master May 17, 2018
@PuZZleDucK PuZZleDucK deleted the missing-i18n-jobs-fix branch May 31, 2018 12:39
@vbrazo vbrazo self-requested a review July 19, 2018 01:37
davidmorton0 pushed a commit to davidmorton0/faker that referenced this pull request Jul 12, 2021
* update rake

* add failing test for locale without translations

* add fetch for position fixing faker-ruby#1139

* reformat class to make consistant with other Faker classes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants