Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

+ egyptian specs

  • Loading branch information...
commit 03f78b6d0951e58fc88b415664d9195814238a46 1 parent 4948138
@floere authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  spec/lib/phony_spec.rb
View
3  spec/lib/phony_spec.rb
@@ -14,7 +14,8 @@
Phony.split('31222123456').should == ['31', '222', '123456']
end
it "should handle egyptian numbers" do
- Phony.split('20233453756').should == ['20', '2', '33453756']
+ Phony.split('20212345678').should == ['20', '2', '12345678']
+ Phony.split('20951234567').should == ['20', '95', '1234567']
end
it "should handle french numbers" do
Phony.split('33112345678').should == ['33', '1', '12','34','56','78']
Please sign in to comment.
Something went wrong with that request. Please try again.