spec/locales/pt_spec.rb in humanize-2.2.0 vs spec/locales/pt_spec.rb in humanize-2.2.1

- old
+ new

@@ -10,11 +10,11 @@ tests = [ [8.15, 'oito vĂ­rgula um cinco'], [1000, 'mil'], [1002, 'mil e dois'], [2000, 'dois mil'], - [2002, 'dois mil e um'], + [2002, 'dois mil e dois'], [10_000, 'dez mil'] ] tests.each do |num, output| it "#{num} equals #{output}" do @@ -34,10 +34,10 @@ inf = Float::INFINITY neg_inf = -inf nan = inf + neg_inf expect(inf.humanize).to eql('infinito') - expect(neg_inf.humanize).to eql('infinito negativo') + expect(neg_inf.humanize).to eql('negativo infinito') expect(nan.humanize).to eql('indefinido') end end end