Skip to content

Instantly share code, notes, and snippets.

@mattsnyder
Created August 28, 2016 15:47
Show Gist options
  • Save mattsnyder/112b33afb126b96eef62313e9e3b4e51 to your computer and use it in GitHub Desktop.
Save mattsnyder/112b33afb126b96eef62313e9e3b4e51 to your computer and use it in GitHub Desktop.
test "invalid when proper number of digits but letters mixed in" do
assert Phone.number("1a2a3a4a5a6a7a8a9a0a") == "0000000000"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment