Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- ["at", "(02236) 73 228", "+43223673228"],
- ["de", "0049 1234", "+491234"]
- ].each do |country, local, expected|
- specify "#{country}: #{local} => #{expected}" do
- PhoneNumber.new(local, :country => Country.find_by_tld(country)).globalize.should == expected
- end
- end
Add Comment
Please, Sign In to add comment