spec/lib/textveloper_spec.rb in textveloper-0.1.5 vs spec/lib/textveloper_spec.rb in textveloper-0.1.6

- old
+ new

@@ -60,9 +60,10 @@ notificator.send(:format_phone,"0412-123-45-67").should eq("04121234567") notificator.send(:format_phone,"0412.123.45.67").should eq("04121234567") notificator.send(:format_phone,"+58-412.158.58.58").should eq("04121585858") notificator.send(:format_phone,"58.412.1.2.3.4.5.6.7").should eq("04121234567") notificator.send(:format_phone,"+58 412 123 45 67").should eq("04121234567") + notificator.send(:format_phone,"(0412)1234567").should eq("04121234567") end it "formatear response a hash " do notificator.send(:hash_contructor,points).should eq(hash_response_points) \ No newline at end of file