phony 1.8.7 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/phony/country.rb +1 -0
- data/spec/lib/phony_spec.rb +3 -0
- metadata +1 -1
data/lib/phony/country.rb
CHANGED
data/spec/lib/phony_spec.rb
CHANGED
@@ -24,6 +24,9 @@ describe Phony do
|
|
24
24
|
|
25
25
|
describe "normalize" do
|
26
26
|
describe "some examples" do
|
27
|
+
it "should normalize a too short number" do
|
28
|
+
Phony.normalize('+972').should == '972'
|
29
|
+
end
|
27
30
|
it "should normalize an already normalized number" do
|
28
31
|
Phony.normalize('41443643533').should == '41443643533'
|
29
32
|
end
|