You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.
An easy way to see this error happening is adding to this test case the following assertion (since its fixture was generated by global_phone_dbgen --test):
assertnumber.valid?,"expected #{string} be valid for territory #{territory_name}"
And looks like this error is happening because for some country codes the phone formats are missing.
I'm hoping to use the generated list of phones as fixture to my tests, but it would need to always have valid phone numbers generated.
The text was updated successfully, but these errors were encountered:
These additions have been made -
* Ability to parse a phone number without territory being supplied.
* Ability to determine the type of the phone number. Possible types are - :fixed_line, :mobile, :fixed_line_or_mobile, :toll_free, :premium_rate, ...
* Methods to check if a number is fixed_line or mobile. If the type of the number is :fixed_line_or_mobile then both these methods will return true in such a case.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
An easy way to see this error happening is adding to this test case the following assertion (since its fixture was generated by global_phone_dbgen --test):
And looks like this error is happening because for some country codes the phone formats are missing.
I'm hoping to use the generated list of phones as fixture to my tests, but it would need to always have valid phone numbers generated.
The text was updated successfully, but these errors were encountered: