Skip to content

Commit

Permalink
Fixed failing spec for phone number
Browse files Browse the repository at this point in the history
  • Loading branch information
sudeeptarlekar committed Sep 14, 2020
1 parent 35ea4f8 commit 4e85b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_locale.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def teardown
def test_locale_separate_from_i18n
I18n.locale = :en
Faker::Config.locale = :de
assert Faker::PhoneNumber.phone_number.match(/\(0\d+\) \d+|\+49-\d+-\d+/)
assert Faker::PhoneNumber.phone_number.match(/\(0\d+\) \d+|\d+-\d+/)
assert Faker::Address.street_name.match(//)
Faker::Config.locale = :ru
assert Faker::Internet.domain_name.match(/([\da-z\.-]+)\.([a-z\.]{2,6})/)
Expand Down

0 comments on commit 4e85b82

Please sign in to comment.