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

Add test_password_could_achieve_max_length #372

Merged
merged 5 commits into from
Jul 12, 2018

Conversation

oleksii-ti
Copy link
Contributor

@oleksii-ti oleksii-ti commented Jul 2, 2015

  • Faker::Internet - Add a missing test

@DanDobrick
Copy link

DanDobrick commented Nov 2, 2016

The code for the fix looks good and the tests run fine on my local machine. It looks like the failing test from travis isn't related to any of the code that @oleksii-ti changed and their change looks good. 👍

Copy link
Member

@vbrazo vbrazo left a comment

Choose a reason for hiding this comment

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

@oleksii-ti travis is red because of a few rubocop violations.

Offenses:
lib/faker/internet.rb:61:1: C: Layout/TrailingWhitespace: Trailing whitespace detected.
test/test_faker_internet.rb:104:1: C: Layout/TrailingWhitespace: Trailing whitespace detected.
348 files inspected, 2 offenses detected
RuboCop failed!

Since these violations are simple, you could easily fix the trailing whitespace issues by running rubocop --only Layout/TrailingWhitespace -a.

Copy link
Member

@vbrazo vbrazo left a comment

Choose a reason for hiding this comment

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

👍

@vbrazo vbrazo changed the title Fix bug when password always get min length Add test - when password always get min length Jul 12, 2018
@vbrazo vbrazo changed the title Add test - when password always get min length Add test_password_could_achieve_max_length Jul 12, 2018
@vbrazo vbrazo merged commit 7b8e5de into faker-ruby:master Jul 12, 2018
davidmorton0 pushed a commit to davidmorton0/faker that referenced this pull request Jul 12, 2021
* Fix bug when password always got min length

* Update test_faker_internet.rb

Fit Rubocop rules

* Fit Rubocop rules

* Fit Rubocop rules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants