spec/pl_spec.rb in papla-0.0.4 vs spec/pl_spec.rb in papla-0.0.5

- old
+ new

@@ -230,7 +230,11 @@ end it 'rounds to two decimal places' do subject[3.456].should eq('Trzy 46/100') end + + it 'properly handles float precision imperfections' do + subject[111_111.2].should eq('Sto jedenaście tysięcy sto jedenaście 20/100') + end end end