phony 1.5.2 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/phony/dsl.rb +1 -0
- data/spec/lib/phony_spec.rb +2 -1
- metadata +1 -1
data/lib/phony/dsl.rb
CHANGED
data/spec/lib/phony_spec.rb
CHANGED
@@ -270,7 +270,8 @@ describe Phony do
|
|
270
270
|
describe 'vanity_to_number' do
|
271
271
|
it {Phony.vanity_to_number('41800WEGGLI').should == '41800934454'}
|
272
272
|
it {Phony.vanity_to_number('41800weggli').should == '41800934454'}
|
273
|
-
it {Phony.vanity_to_number('41800SUCCESSMATCH').should == '41800782237'} # Cut off according to the swiss norms.
|
273
|
+
# it {Phony.vanity_to_number('41800SUCCESSMATCH').should == '41800782237'} # Cut off according to the swiss norms.
|
274
|
+
it {Phony.vanity_to_number('41800SUCCESSMATCH').should == '41800782237762824'} # Allow for call-through numbers (>= 1.6.0)
|
274
275
|
it {Phony.vanity_to_number('4180BLA').should == '4180252'} # Does not check for validity of number.
|
275
276
|
end
|
276
277
|
end
|