Skip to content

Commit

Permalink
Fix docs for Internet#password generator (#1677)
Browse files Browse the repository at this point in the history
  • Loading branch information
ur5us authored and vbrazo committed Aug 7, 2019
1 parent 0deec17 commit 129dd49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/default/internet.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ Faker::Internet.username(specifier: 5..8)
# Keyword arguments: min_length
Faker::Internet.username(specifier: 8)

# Keyword arguments: min_length, max_length, mix_case, special_chars
# Keyword arguments: min_length, max_length, mix_case, special_characters
Faker::Internet.password #=> "Vg5mSvY1UeRg7"
Faker::Internet.password(min_length: 8) #=> "YfGjIk0hGzDqS0"
Faker::Internet.password(min_length: 10, max_length: 20) #=> "EoC9ShWd1hWq4vBgFw"
Faker::Internet.password(min_length: 10, max_length: 20, mix_case: true) #=> "3k5qS15aNmG"
Faker::Internet.password(min_length: 10, max_length: 20, mix_case: true, special_chars: true) #=> "*%NkOnJsH4"
Faker::Internet.password(min_length: 10, max_length: 20, mix_case: true, special_characters: true) #=> "*%NkOnJsH4"

Faker::Internet.domain_name #=> "effertz.info"

Expand Down

0 comments on commit 129dd49

Please sign in to comment.