Sha256: 34a4b4ac24b6be8c3a24c3c5e2ba28bd3ca5b1d157765831cb1b4688a989b9cc

Contents?: true

Size: 240 Bytes

Versions: 16

Compression:

Stored size: 240 Bytes

Contents

# -*- encoding: utf-8 -*-
#
require 'spec_helper'

RSpec.describe Brcobranca::Limpeza do
  it 'Formata Float em String' do
    expect(1234.03.limpa_valor_moeda).to eq('123403')
    expect(1234.3.limpa_valor_moeda).to eq('123430')
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
brcobranca-9.2.4 spec/brcobranca/limpeza_spec.rb
brcobranca-9.2.3 spec/brcobranca/limpeza_spec.rb
brcobranca-9.2.2 spec/brcobranca/limpeza_spec.rb
brcobranca-9.2.1 spec/brcobranca/limpeza_spec.rb
brcobranca-9.2.0 spec/brcobranca/limpeza_spec.rb
brcobranca-9.1.2 spec/brcobranca/limpeza_spec.rb
brcobranca-9.1.1 spec/brcobranca/limpeza_spec.rb
brcobranca-9.1.0 spec/brcobranca/limpeza_spec.rb
brcobranca-9.0.0 spec/brcobranca/limpeza_spec.rb
brcobranca-8.0.0 spec/brcobranca/limpeza_spec.rb
brcobranca-7.3.0 spec/brcobranca/limpeza_spec.rb
brcobranca-7.2.2 spec/brcobranca/limpeza_spec.rb
brcobranca-7.2.1 spec/brcobranca/limpeza_spec.rb
brcobranca-7.2.0 spec/brcobranca/limpeza_spec.rb
brcobranca-7.1.0 spec/brcobranca/limpeza_spec.rb
brcobranca-7.0.0 spec/brcobranca/limpeza_spec.rb