Skip to content

Commit

Permalink
Revert "Feature: Add north dakota driving licence (faker-ruby#2149)"
Browse files Browse the repository at this point in the history
This reverts commit 20947a3.
  • Loading branch information
droznyk authored Oct 23, 2020
1 parent 8f7e742 commit d830ded
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions lib/locales/en/driving_license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,6 @@ en:
north_carolina:
- '##########'
- '############'
north_dakota:
- '???######'
- '#########'
ohio:
- '?########'
- '??#######'
Expand Down
4 changes: 0 additions & 4 deletions test/faker/default/test_faker_driving_licence.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ def test_usa_driving_licence_for_different_states
# When state Alaska is passed
licence_number = @tester.usa_driving_licence('alaska')
assert_match %r{[0-9]{6,7}}, licence_number

# When state North Dakota is passed
licence_number = @tester.usa_driving_licence('North Dakota')
assert_match %r{([A-Z]{3}[0-9]{6})|([0-9]{9})}, licence_number
end

def test_usa_driving_licence_with_faker_code
Expand Down

0 comments on commit d830ded

Please sign in to comment.