-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Faker adjectives #2130
Faker adjectives #2130
Conversation
@loicboset Can you see why most of the tests are failing ? |
@psibi yes, for a reason that I don't understand the bank faker is failing although I have not touched it.
Do you have an idea why? |
@sudeeptarlekar / @Zeragamba Do you know what's going wrong in the tests ? |
|
I changed all the names to |
@loicboset I looked into this in more detail today and IMO the test is wrong:
Faker doesn't guarantee that the value will be unique always: https://github.com/faker-ruby/faker#note So, IMO that test is wrong. Free feel to comment the test out. I don't want this MR to get stagnated because of the test. |
@psibi thanks! Everything seems good now! |
@loicboset LGTM. One more change: Can you add this link: #2130 (comment) to the commented out code so that others can easily discover why it's commented out ? |
@psibi sure! Happy to adjust anything else to comply! |
Review has been addressed. It's ready to be merged.
Awesome. Thanks for your contribution. |
Thanks! I am participating this month to the Hacktoberfest, are you happy to receive more PR (quality-focus)? |
@loicboset Sure, that would be much appreciated! |
* Adding base files for Adjective Faker * Adding faker version * Passing required modifications * Commented out failing bank test * Adding link to commented test
This reverts commit 5d7b15a.
This reverts commit 5d7b15a.
Description:
This is a PR to add a new faker generator for adjectives.
A few weeks ago I had to create an Airbnb clone and I wanted to use Faker to generate flats description ("Nice apartment", "Cosy studio", ...) but I did not find any suitable Faker.
Hence this generator, which includes 'nice' adjectives ('clean', 'charming') and 'bad' adjectives ('horrible', 'lazy') that can be used for multiple purposes.
This is my first real PR request 🙏
I added the 4 files you will see, including the test (which passes).
However, even though I did not touch the Bank Faker, I get an error on this one after having added my changes (I ran the test before adding my changes and all tests pass, so it has to do with my changes).
Obviously, I missed something so if you have any clue what to change to make all tests pass, please let me know! 💪